ThingWorx Flow > Connectors Overview > System Connectors > SAP > Update Maintenance Order User Status
  
Update Maintenance Order User Status
Use this action to update the maintenance order user status.
The following BAPI has been used for this action:
BAPI_ISUSMORDER_USERSTATUSSET
Using the Update Maintenance Order User Status Action
To use this action in your workflow, connect it to ThingWorx Flow. To create a flow, do the following:
1. Drag the Update Maintenance Order User Status action under the SAP connector to the canvas, place the pointer on the action, and then click or double-click the action. The Update Maintenance Order User Status 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 SAP Connection in the SAP connector topic.
4. In the Maintenance Order field, enter a maintenance order id.
5. In the Select User Status field, select an available user status for the provided maintenance order.
6. Select an option for the user status. By default, the user status is Inactive. If you select Active, the user status is switched to active.
7. Click Done.
Output Schema
The output schema for Update Maintenance Order User Status action returns a message string. See a sample output schema in the figure that follows: