ArchiveExpiredProcessInstances

Description

This timer allows you to archive expired process instances.


Webservice Name

ProcessInstanceManager

Webservice Method

archiveExpiredProcessInstances

Parameter

Parameter

Description

Valid examples

Parameter

Description

Valid examples

pdName

This parameter is used to set the process instance definition to be archived. Wildcards can be used with *.

Financeprocess*

timeSpan

This parameter is used to set the timespan of the process instances.

2y
mon (month)
w (week)
d (day)
h (hour)

varName

This parameter is used to set the name of the variable when one process instance is archived.

archiveState

varValue

This parameter is used to set the value of the variable when one process instance is archived.

archivedProcessVariable

limit

This parameter is used to set the limit of the process instances to be archived.

1000

mailNotification

This parameter can be set to send a mail notification after the execution of the timer.

true
false

 

Example:

Â