Is there a way in vRO to get an array of the current workflows input parameters names and values? We like to validate that inputs to workflows are actually set prior to running and currently this means a bunch of 'if' blocks checking each input. I would like to grab all of the inputs and just loop through them to see if the are set.
I have been looking at the System.Workflow scripting class and it returns an array of the names of the inputs but not the values the inputs are set to.
Any ideas?
Just use "workflow" in your workflow to get the current running token. So workflow.getInputParameters(); should work.
Paul
Awesome! That's what I need. I couldn't find that method in the api explorer until I realize the scripting class for workflow was called WorkflowToken.