Is there a sample for getting or using the 'Get Workflow Inputs' activity
I thought it maybe would just put the querystring arguments in an array...
but i couldn't figure it out...
Can someone give a simple example.
-
Hi Ryan,
Take a look at the attached workflow. In order to specify an input value, you'll configure the argument name in your shell.json.js file using similar syntax:
{
"id": "totxDZNM",
"type": "button",
"iconUri": "{ViewerConfigUri}../../../Resources/Images/WorkflowIcon.PNG",
"command": "RunWorkflowByUrl",
"commandParameter": {
"url": "https://latitudegeo.maps.arcgis.com/home/item.html?id=19b84c6ca9da4dc798179d474e68d511",
"inputs": {
"value1": "Input from Get Workflow Inputs activity."
}
},
"hideOnDisable": false,
"name": "Get Workflow Inputs",
"tooltip": "Sample workflow to showcase the Get Workflow Inputs activity"
}
0 -
Hi Ryan,
Just adding to Stefan's comment- you can do this through the Essentials Manager interface rather than having to manually open the shell.json.js files.
Here's what the configuration above would look like if you were using the Manager to create a toolbar button that runs the workflow:
0 -
Worked like a charm, thanks again.
0 -
How would I pass the argument into the workflow from feature description? For example, say I want to pass Geometry token replacement. In the Workflow 4 it used to be:
<a href="command:RunWorkflowWithArguments?workflowId=BufferParcel&ParcelGeometry=
{$Geometry}">Create Remediation Buffer</a>
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
4 commentaires