Configure a change state action
You can configure a "Change State" TotalAgility action for an event against an item in SharePoint. For example, you can set up the Change State action for the Item Added event against a document library in SharePoint.
-
On the Sites page, select the site for which to configure events.
The SharePoint Site Configuration page appears.
-
Click
Add
for
Sites.
The SharePoint Event Configuration page appears.
- In the Select Source box, expand the library to select the source, such as Shared Documents.
- On the Event list select the event for which you want to configure the TotalAgility action, such as Item Added.
- On the Action list, select Change State.
-
To display the state of a job at runtime, do the following:
- Enter a static value or consume the Job ID.
- Enter a static value or consume the State.
- Consume the attribute to the Job ID field or consume the attribute to the State field.
- Click OK.
-
The event is added and displayed in the Site page. When an item
is added to a document library in SharePoint, the state of the job changes to
the state specified in the Event page.
Similarly, you can set up a Change State TotalAgility 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, and at runtime, the job suspends. The details of the error appear in the Event Log.