We have a C# script that is supposed to grab variables from a form that executes the workflow when completed.
The current syntax we are using in the C# script:
string groupName = GetTokenValue("ForEachRow_Distribution_List").ToString();
When using the same token on an email task, the text is consistent with the values on the form.
When we run the script with the token mentioned above, the script fails/does not complete the tasks.
The script works when testing alone in the script editor.
Is our syntax correct?
Thank you!