Execute Functions
Use this action to execute Windchill functions defined in Windchill Rest Services.
Using Execute Functions Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to a flow, do the following:
1. Drag the Execute Functions action under the Windchill connector to the canvas, place the pointer on the action, and then click or double-click the action. The Execute Functions action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add a connection, refer to the section Adding a Connection in the Windchill connector topic. The default value is Basic.
If you previously added a connection for Windchill, select a connection from the list.
4. Select a Windchill Function to execute. The input fields in the Execute Function action window change, depending on the Windchill function that you select.
For example, if you select IsCheckoutAllowed-Document, the workable property appears on the input form.
5. Enter the values, and then click Done.
Output Schema
The Execute Functions action returns a dynamic output schema depending on the function you select.
See a sample output schema, when you select the IsCheckoutAllowed-Document function in the figure that follows: