You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a somewhat uncommon situation where accountName is not used as the prefix with UPN and Email address. When I put in the conflict filter of /Person[starts-with(Email,'[//Value]@')] the workflow crashes within the SetAttributesToReadForConflictResources method.
I looked into the source code for that function and it seems that is expects the Starts-With to only include the [//Value] and not [//Value]@. In this case the @ is necessary since we're searching only the prefix of the email address. Without the @ included in the Starts-With, a unique value of JSmith may incorrectly return a conflict with an email address of [email protected].
The code below shows the endToken where it expects only '[//Value]' and won't support '[//Value]@'.
string endToken = "'[//Value]'";
Could someone look at parsing the Starts-With in a better way? Simply removing the trailing ' would work for my situation. Consider using the first index of , after the "Starts-With" string (startIndex value) as another possibility.
The text was updated successfully, but these errors were encountered:
I have a somewhat uncommon situation where accountName is not used as the prefix with UPN and Email address. When I put in the conflict filter of /Person[starts-with(Email,'[//Value]@')] the workflow crashes within the SetAttributesToReadForConflictResources method.
I looked into the source code for that function and it seems that is expects the Starts-With to only include the [//Value] and not [//Value]@. In this case the @ is necessary since we're searching only the prefix of the email address. Without the @ included in the Starts-With, a unique value of JSmith may incorrectly return a conflict with an email address of [email protected].
The code below shows the endToken where it expects only '[//Value]' and won't support '[//Value]@'.
string endToken = "'[//Value]'";
Could someone look at parsing the Starts-With in a better way? Simply removing the trailing ' would work for my situation. Consider using the first index of , after the "Starts-With" string (startIndex value) as another possibility.
The text was updated successfully, but these errors were encountered: