Can I RunWorkflowByUrlAndInputs from an Essentials RunExternalComand?
Is it possible to configure an Essentials RunExternalCommand activity to run the RunWorkflowByUrlAndInputs command? If so, what is the format for the arguments in the Command Parameter (Object)?
I'm trapped in the string format hell of trying to get this to validate:
{
"url": "{ViewerConfigUri}../../../Resources/Workflows/FindFolders.json",
"arFolderList": "212440:SP,213619:SP",
"arPropertyList": "3046892,425060"
}
I've tried adding the beginning and ending double-quotes, escape characters, double-double quotes, and the usual suspects, but nothing validates.
Let me know if there is a way to do this.
0
-
If called from an Essentials Workflow Run Command, you will need to ensure the NewtonSoft.Json.Linq library is imported into your environment:
Run Command: "RunWorkflowByUrlAndInputs"
Command Parameter:
Newtonsoft.Json.Linq.JObject.Parse("{url: 'http://coacortexdev.coacd.org/GVH/Resources/Workflows/AddressSearch.json',SearchType:'Address',ShowDetails:'True',CollectionName:'',BufferSearch:'False',FormTitle:"Address Search",AutoComplete:'True',KeepPrevious:'False'}")
Note that the keys are not quoted and the values are in single-quotes. There can also be no return characters or white space - so all on one line with no spaces or breaks.0 -
Sean cool idea! What's your high level use case for this need? I would love to build the idea into my quiver of problem solving. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer