ThingWorx Flow > Actions
Creating Actions
To add an action to your workflow, do the following:
1. On the right side of the canvas, from the Actions panel, expand a connector to display a list of available actions.
2. Drag one or more actions to the canvas between the start and end icon.
3. Connect the start action to the first action to be executed, and then connect subsequent actions until the last action is connected to the end action.
There should be at least one fully connected path between the start action and the end action to execute a workflow.
4. Place the pointer on an action, and then click or double-click the action icon. The action configuration window opens. The action configuration window contains two main panels. On the left is a form with the various parameters that the action uses when it is executed. On the right is a list of all the available data that is returned from other previous actions in the workflows, and any workflow parameters available for use. For more information, refer to the topic Workflow Settings.
5. Enter the parameters on the left form by performing a combination of the following actions:
a. Type a value.
b. Select a value from the list. Many lists are populated from the external system to which the action is connected. In these cases, a valid connection or authorization must be configured on the action to populate the list.
a. Click to see a list of values. You can also filter a list by entering text in the field, and then clicking as shown in the figure that follows:
c. Binding the value to the data returned from other actions.
a. Place the pointer in the field on the left side, and then click next to the data field or parameter on the right pane to bind the data together.
Make sure to match and enter correct field types on both sides of the binding data. For example, S indicates a string field in the figure that follows:
6. After configuring the action, click Done.
7. Continue to configure all the actions in the workflow, and then test them. For more information on testing flows, refer to the topic Testing Flow Execution.
Editing an Action
To edit an action in your workflow, do the following:
1. Place the pointer on the action, and then click or double-click the action icon to open the action’s configuration window.
2. Make the changes and then click Done.
Deleting an Action
To delete an action from your workflow, place the pointer on the action, click and then click to confirm the delete action.