ThingWorx Trigger
Any event within ThingWorx can be set as a trigger for your workflow. Whenever the specified event happens, the associated workflow executes automatically.
Using ThingWorx Triggers
To use this trigger in your workflow, create a new event for ThingWorx trigger, and then connect to the flow. To create a new event, do the following:
1. Place the pointer on the start icon , and then click or double-click . A list of triggers appears.
2. Select the ThingWorx trigger, and then create a new event. The ThingWorx trigger configuration window opens.
* 
If a trigger is already created, select the existing trigger, and then click SAVE.
To create a new trigger, click Create a new event for ThingWorx, and then proceed with the steps further.
3. Edit the trigger label, if needed.
4. To add a connection, refer to the section Adding a Connection in the ThingWorx connector topic. The default value is ThingWorx App Key.
* 
If you previously added a ThingWorx connection, select a connection from the list.
5. In the Source Entity field, select a ThingWorx entity that the event will emit from.
6. In the Event field, select a ThingWorx event that initiates a trigger.
7. In the Source Property field, select a source property that initiates the ThingWorx event.
* 
The source property only applies to Alert, AlertAck, AlertReset, and DataChange events.
8. In the Custom Filters section, click ADD, and then enter the following details:
Input
Expected—The expected output.
Condition—Condition to apply on the filters such as equals, greater than, less than, contains, does not contain, matches, and so on.
Click ADD to set multiple custom filtering criteria.
For more information on custom filters, refer to the topic Adding Custom Filters.
9. Click SAVE.
Was this helpful?