RunWorkflowWithArguments via StartUp Workflow
I have a workflow named "ObjectIDSearch " that takes a Argument of "objectid ", I'm getting the error "Value cannot be null. Parameter name: key "
Not ever running a workflow from a startup and passing a argument, can anybody tell me if this URL syntax is correct or if you have some constructive suggestions, as I'm running out of ideas. I can manually run the workflow without error in workflow designer. If I dont add the argument the workflow runs without error, I know this becasue I have a IF statment the runs another portion of the workflow if the objectid isnt supplied.
....Viewer.html?Viewer=SidewalkEdit&command:RunWorkflowWithArguments?workflowId=ObjectIDSearch&objectid=14677
Thanks
-Alex
-
Hi Alex,
Try this:
...Viewer.html?Viewer=SidewalkEdit&runWorkflow=ObjectIDSearch&objectid=14677
When you run a workflow on startup it automatically attempts to match up URL parameters with the input arguments of the workflow.
--Ryan
0 -
thanks Ryan,
Turned out there was just an issue with my internal logic of my workflow.
0
Please sign in to leave a comment.
Comments
2 comments