ThingWorx Trigger
Any event within ThingWorx can be set as a trigger for your workflow. Whenever the specified event takes place, the associated workflow executes automatically.
Permissions for ThingWorx Trigger
Ensure that the ThingWorx user has permissions on the following ThingWorx entities to create, update, or delete a ThingWorx trigger:
Entity
Permissions
Source entity
Visibility
Design Time—Read
WorkflowSubsystem Subsystem
Visibility
Run Time—Service Execute
Workflows Thing
Visibility
Design Time—Update
Using ThingWorx Triggers
Use ThingWorx events to set a trigger for workflow execution. To create an event for ThingWorx, complete the following steps:
1. Place the pointer on the start icon , and then click or double-click . A list of triggers appears.
2. Select ThingWorx. In the trigger configuration window, do one of the following:
If a trigger is already created, select an existing trigger, and then click SAVE.
To create a new trigger, click Create a new event for ThingWorx, and then proceed with the following steps.
3. Edit the Trigger Label, if needed.
4. To add a ThingWorx connector type, refer to Supported ThingWorx Connector Types.
If you previously added a connector type, select the appropriate Connector Type, and under Connector Name, select the connector.
5. Click TEST to validate the connector.
6. In the Source Entity list, select a ThingWorx entity that the event will emit from.
7. In the Event field, select a ThingWorx event that initiates a trigger.
8. In the Source Property field, select a source property that initiates the ThingWorx event.
The source property applies to the Alert, AlertAck, AlertReset, and DataChange events only.
9. Under the Custom Filters section, click ADD, and then do the following:
a. Map the appropriate fields from the Trigger Data section to the Input field.
b. Select an appropriate value in the Condition list.
c. Set a value in the Expected field.
Click Add to add multiple custom filters. Click to delete any custom filter that you added.
For more information on custom filters, refer to Adding Custom Filters.
10. Click SAVE.
Was this helpful?