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

Get option set value returns the integer value with thousand separator #276

Open
atajjo opened this issue May 8, 2023 · 0 comments
Open

Comments

@atajjo
Copy link

atajjo commented May 8, 2023

Describe the bug
The "Get option set value" feature returns the integer value with thousand separator (e.g., 1,00,000 instead of 100000), causing issues when trying to use this value as a filter in other functions that use FetchXML expressions.
The error is caused because the FetchXML thinks the value is a string since it contains comma characters, causing a mismatch exception (expected type is int32 but value provided is a string).

To Reproduce
Steps to reproduce the behavior:

  1. Use the "Get option set value" to get a value
  2. Use this value as a filter in a function that uses FetchXML (e.g., rollup)
  3. Trigger a workflow that includes step 1 & 2
  4. See error

Expected behavior
Result returned without thousand separator or commas

Desktop (please complete the following information):

  • OS: Win 10
  • Browser: Edge
  • Version: 112.0.1722.68

Workaround for this issue:
After getting the value, use the string function to remove commas.

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

1 participant