I’m working on automating an IT ticket system, and am having trouble with passing arguments. I’ve done this multiple times, but now the arguments after this invoked workflow are returning as null, giving a null reference error when I enter the for each loop. When I debugged, the String array was set to the default value until after the Invoke Workflow activity, after which it was null.
That is the workflow file I am attempting to pass the argument (a string array) to.
In the invoked workflow. I am certain that the selector is obtaining the proper value, as I debugged and used message boxes to check my work. I’ve tried everything I can think of, renaming the variable, setting a default value, all to no avail. I am wondering if there are any solutions.