Emit Event
Use the Emit Event action to emit an event in ThingWorx.
Complete the following steps to use the Emit Event action in your workflow:
1. Drag the Emit Event action under ThingWorx to the canvas, place the pointer on the action, and then click or double-click the action. The Emit Event window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. 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.
4. Click TEST to validate the connector.
5. Click MAP CONNECTOR to execute the action using a connector that is different from the one that you are using to populate the input fields. In the Runtime Connector field, provide a valid ThingWorx connector name. For more information about MAP CONNECTOR, see Using Map Connector.
6. In the Entity Type list, select or specify the ThingWorx entity type.
7. In the Entity list, select or specify the appropriate entity.
8. In the Event list, select the event.
The fields in the input form change dynamically based on the event that you select.
9. Select Form to provide inputs for individual properties listed in the form, or select Assign JSON to specify a single JSON with all required properties.
10. Click Done.
Output schema
The Emit Event action returns a message string.
Was this helpful?