Aller au contenu principal

Is there a sample for getting or using the 'Get Workflow Inputs' activity

Commentaires

4 commentaires

  • Stefan Schweigert

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

    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:

     

    GW5WorkflowInputsToolbarConfig

    0
  • Permanently deleted user

    Worked like a charm, thanks again.

    0
  • Permanently deleted user

    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.