Change state action
Configure a Change state action for an event in the Dynamics AX system. For example, set up the Change state action for an Update event in the Dynamics AX system. See Configure the TotalAgility actions resulting from MS Dynamics AX events.
-
On the
Dynamics AX systems page, click the AX system from the list.
The Edit Dynamics AX system configuration dialog box is displayed.
-
Under
Entities, on the context menu of the web service for which to configure the
events, click
Events.
The Events dialog box is displayed.
- The Entity is displayed as a read-only field.
-
Click
.
The New Dynamics AX event configuration dialog box is displayed.
- The Entity is displayed as a read-only field.
- Select the Event for which to configure the TotalAgility action, such as Update. (Default: Create)
- On the Action list, select Change state. (Default: Create new job)
-
Optional. For
Attributes, click
Add and add the required attributes. The event is fired only when the
selected attributes are updated.
If you do not add the attributes, the action is fired whenever any attribute in the entity is updated.
- To display the state of a job at runtime, select a dynamic value, or click and enter a static value for Job ID and State.
-
Click
Save.
The configured event appears in the Events dialog box. You can edit or delete the event.
- Click Close to return to the Edit Dynamics AX system configuration dialog box.
-
Click
Save.
When the entity instance is updated in the Dynamics AX system, the changed state action is created against a job at runtime.
You can also set up a Change state action for the Create and Delete events.