This timer periodically updates and reports the number of documents in SharePoint associated with process instances, including those linked through softlinks or subprocesses. It filters instances based on criteria such as open and archival status, and records the document count and the timestamp of the last update in specified variables within each process instance.
The SharePoint Connection must be active in order to use this timer.
Webservice Name
Code Block |
---|
ContinuousSharePointCountManager |
Webservice Method
Code Block |
---|
countDocuments |
Parameters
Parameter | Description |
---|---|
| This parameter determines whether the method should include only open (not yet completed) process instances. It is expected to be a |
| This parameter controls whether the method should include only non-archived process instances. Similar to the previous parameter, it is a |
| This is the name of the process variable where the document count will be stored for each process instance. The method uses this name to update the document count in the specified process variable. |
| This is the name of the process variable where the timestamp of the last check will be stored. This parameter is used to record when the count was last updated |
Example Parameters:
Code Block |
---|
true,true,countVariable,lastChecked |
...
After starting the timer, the report successfully displays both the document count and the timestamp of the last check within each process instance, as specified by the countVariable
and lastChecked
variables.
...