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.

  1. On the Dynamics AX systems page, click the AX system from the list.

    The Edit Dynamics AX system configuration dialog box is displayed.

  2. Under Entities, on the context menu of the web service for which to configure the events, click Events.

    The Events dialog box is displayed.

  3. The Entity is displayed as a read-only field.
  4. Click .

    The New Dynamics AX event configuration dialog box is displayed.

  5. The Entity is displayed as a read-only field.
  6. Select the Event for which to configure the TotalAgility action, such as Update. (Default: Create)
  7. On the Action list, select Change state. (Default: Create new job)
  8. 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.

  9. 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.
  10. Click Save.

    The configured event appears in the Events dialog box. You can edit or delete the event.

  11. Click Close to return to the Edit Dynamics AX system configuration dialog box.
  12. Click Save.

    When the entity instance is updated in the Dynamics AX system, a changed state action is created against a job at runtime.

    You can also set up a Change state action for theCreate and Delete events.