Run Workflow With Arguments command parameters
Hi,
when I want to add a button to the toolbar, and the command is “RunWorkflowWithArguments”, both workflow id and the parameters should be passed in command parameters;
What is the right syntax to pass these parameters?
We tried as the following snapshot, but it did not work!
/customer/servlet/servlet.FileDownload?file=00P6000000em1C2EAI
Thanks for your help.
-
Hi,
Have you worked out how to do this?
I am facing the same problem. The workflow never get called.
Thanks
Helen
0 -
No reply yet!
I made many trials but all failed..
0 -
Hi,
I think the issue is with the capital letters in the command arguments.
Try using " workflowId =my_workflow_id&layerID=123456" instead of " WorkFlowID =abcd&..."
Regards,
Gops
0 -
Through the GE Rest manager, "Command Parameter" value is converted to one string.
However, the command 'RunWorkflowWithArguments' takes a parameter with OBJECT type.
GVH Admin /Developer Guide (GVH 2) page 149 says
"RunWorkflowWithArguments Runs a workflow that has input
arguments.
parameter
An object with the following properties: workflowId, and a
named property for each workflow argument.
Introduced: v. 1.2"Therefore, if you set up with a command 'RunWorkflowWithArguments', you need to configure manualy by open Desktop.json.js (or Tablet.json.js or so).
(1) Open file on the Text Editor.
(2) Find a block starting with "moduleName" : "Toolbar",
(3) Items part on that block, you should see the part
"command" : "RunWorkflowWithArguments",
"commandParameter" : "workflowId=myWorkflwo&layerID=1",
**** which should be as {"workflowId": "myWorkflwo", "layerID": 1}
It may resolve your issue.
Future version of GVH can parse 'Command Parameter' setting on the GE Rest manager, and convert to Json object format I think.
Munhwan
0 -
An "updated" version of viewer 1.3.1 fix the grey button problem.
0 -
So this is not the default 1.3.1 version, but an updated version, which I assume the local distributor provided for you?
0 -
Yes. I downloaded from AAM web site again.
0 -
I know I'm a little late to the party, but thanks everyone!
I was having this issue trying to use RunWorkflowWithArguments from the I want to... menu
Manually modifying the command parameter in the json files to the proper syntax worked perfectly.
0 -
Command Parameter:
{
"workflowId": "WorkflowName",
"ARGUMENT": "Argument Name"
}0
Please sign in to leave a comment.
Comments
9 comments