Skip to main content

Run Workflow With Arguments command parameters

Comments

9 comments

  • Permanently deleted user

    Hi,

    Have you worked out how to do this?

    I am facing the same problem. The workflow never get called.

    Thanks

     

    Helen

     

    0
  • Permanently deleted user

    No reply yet!

    I made many trials but all failed..

    0
  • Permanently deleted user

    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
  • Permanently deleted user

    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
  • Permanently deleted user

    An "updated" version of viewer 1.3.1 fix the grey button problem. 

    0
  • Permanently deleted user

    So this is not the default 1.3.1 version, but an updated version, which I assume the local distributor provided for you?

    0
  • Permanently deleted user

    Yes. I downloaded from AAM web site again.

    0
  • Dan Giersz

    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
  • Permanently deleted user
    Command Parameter:

     

    {

     

      "workflowId": "WorkflowName",

     

      "ARGUMENT": "Argument Name"

     

    }
    0

Please sign in to leave a comment.