Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event ID 41501 Thrown during Generate Unique Value Activity #103

Open
djryanj opened this issue Jun 28, 2021 · 2 comments
Open

Event ID 41501 Thrown during Generate Unique Value Activity #103

djryanj opened this issue Jun 28, 2021 · 2 comments

Comments

@djryanj
Copy link

djryanj commented Jun 28, 2021

Hello,

This is for WAL version 2.19.0112.0.

I have a Generate Unique Value activity that is building a unique OfficePhone attribute. The XPath filter I am using is /Person[OfficePhone = '[//Value]']. Value expression (only one) of "+15555555555;ext="+[//UniquenessKey].

When this runs, it generates error events in the WAL log, with Event ID 41501, such as this:

Exception in 'ExpressionEvaluator : DetermineParameterType'. Details: MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.Exceptions.InvalidExpressionException: The expression 'Person[OfficePhone = '' is invalid..

I'm not really sure what to make of this; I had the workflow succeed once, even though it threw these errors, when I turned on verbose logging, but in subsequent tests I have not seen it succeed; however, the above exception seems like a bug.

Thank you.

@NileshGhodekar
Copy link
Contributor

I'm wondering if this has to do with + sign in the phone number which the parser may be misinterpreting as a + operator.. Does this work if you replace + sign in front of the country code with 00?

@djryanj
Copy link
Author

djryanj commented Jun 29, 2021

@NileshGhodekar - removing the + was successful. The errors don't show up and the activity seems to complete correctly without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants