Configure TotalAgility actions resulting from SharePoint events
You can configure and execute TotalAgility actions for SharePoint events. For example, you can configure a TotalAgility job that starts when a purchase order is uploaded to SharePoint.
In the Integration Server, you can configure the events in the same way as you would do in an TotalAgility on-premise environment.
When the event is raised on the Integration Server, the action is executed on Azure.
TotalAgility provides the following actions for SharePoint events:
SharePoint events
You can configure TotalAgility actions for the following events in SharePoint.
|
SharePoint Event |
Occurs |
|---|---|
|
ItemAdded |
When an item is added to the SharePoint repository. |
|
ItemUpdated |
When an item is updated in the SharePoint repository. |
|
ItemDeleted |
When an item is deleted from the SharePoint repository. |
|
ItemCheckedIn |
When an item is checked into the SharePoint repository. |
|
ItemCheckedOut |
When an item is checked out of the SharePoint repository. |
|
ItemUnCheckedOut |
When an item checkout is undone in the SharePoint repository. |
Events like Item Checked in, Item Checked Out, and Item Undo Check Out help to ensure the integrity of documents by enabling you to require document checkout before editing, view past revisions and restore to previous versions, and set document-specific security.
SharePoint items
The following table outlines the SharePoint events that occur for the custom (user) defined columns in SharePoint.
|
Actions performed in SharePoint |
Triggered SharePoint events |
Number of jobs created |
|---|---|---|
|
Add an item |
One job for both adding item and for updating custom defined columns. | |
|
Upload an item |
Two Jobs: | |
|
Check in an item |
Three Jobs: |
When the ItemAdded and ItemUpdated events (when a custom column is configured) are triggered:
When a document is added to library, the following things happen:
When the ItemUpdated event is fired the first time, it is in response to the changes of document properties. When it is fired the second time, it is in response to the document being checked-in. It appears as though it is firing twice in this scenario.
How to: