Skip to main content

json syntax for runworkflow

Comments

3 comments

  • Permanently deleted user

    need to add that code does not work, i would like help with the proper syntax.

     {

     

                  "title": "Landfire Identify",

     

                  "command": "runworkflowwitharguments",

     

                  "parameter": "landfire_test",

     

                  "parameter": "${Geometry}"

               }

    0
  • Permanently deleted user

    Hi Jeff,

    The version of the module you are using automatically supplies an argument named 'Geometry' when using the command 'RunWorkflowWithArguments', so you just need to supply the workflow id as the parameter. 

    I would however encourage you to download the new version, available at the same location in our Code Gallery. This version integrates with the HTML5 viewer's existing menu system, allowing the use of any configured menu as a right click menu. It also supports multiple command parameters, so you can send both the workflowId and the geometry (using whatever argument name you like) to the command. See the provided example for sample configuration.

    0
  • Permanently deleted user

    Forgot to mention above: The new module does require GVH 2.4. If you are still using a previous version you'll have to stick with the old one. 

    0

Please sign in to leave a comment.