Change state action

Configure a Change state action for an event against an item in SharePoint. For example, you can set up the Change state action for the ItemAdded event against a document library in SharePoint.

  1. On the SharePoint page, select the site for which you want to configure the events.

    The Edit sharepoint site configuration dialog box is displayed.

  2. Click for Events.

    The New sharepoint event configuration dialog box is displayed.

  3. On the Select source list, select a source, such as Shared Documents.
  4. On the Event list, select the event for which you want to configure the TotalAgility action, such as ItemAdded.
  5. On the Action list, select Change state.
  6. To display the state of a job at runtime, select the dynamic value or click and enter a static value for Job ID and State.
  7. Click Save to save the configuration.

    The event is added and displayed in the table under Events.

  8. In the Edit exchange site configuration dialog box, click Save.

    When an item is added to a document library in SharePoint, the state of the job changes to the state specified when configuring the event.

  9. Click Save to save the event configuration.
  10. In the Edit exchange site configuration dialog box, click Save.

    When a folder is created in the Exchange system, a job in case is created on the selected process map at runtime displaying the correctly populated variables.


  11. Note Similarly, you can set up a Change state action for the other SharePoint events against a forms library, Wiki library, picture library, contacts, discussion board, announcement, agenda, links, calendar, tasks, issue tracking, survey and custom list in SharePoint.

    If there are insufficient privileges, or the parameter values supplied are incorrect or there is a mismatch between the selected location and the TotalAgility Web service, the item is not configured, the job suspends at runtime. The details of the error appear in the Event Log.