•
• Using the Microsoft .NET client assembly, create a ProcessManagerService object by invoking its default constructor.
• Set the ProcessManagerService object’s Credentials data member with a System.Net.NetworkCredential value that specifies the user name and password value.
• Create a ConditionFilter object by using its constructor.
• Specify the process variable on which the condition is based by assigning a string value to the ConditionFilter object’s variable data member.
• Specify the condition operator by assigning a ConditionEnum value to the ConditionFilter object’s condition data member. For example, specify ConditionEnum.GREATER_THAN to specify greater than.
• Specify the value of the process variable by assigning a string value to the ConditionFilter object’s value data member.Perform the purge operation by invoking the ProcessManagerService object’s purgeProcess method and passing the following values:
• An integer value that specifies the status of the process. Valid values are 1 which specifies to purge completed processes only; 2 which specifies to purge terminated processes only; 3 which specifies to purge both completed and terminated processes.
• A long value that specifies the seconds defining the age of the process to purge. The process is purged if its completion time is less than or equal to the time calculated by subtracting the number of seconds specified by this value from the time when the purge started. For example, to purge processes completed a day ago, set this field to 86400 (number of seconds in a day).
• A ConditionFilter object that represents the filter that is used to purge the process.
• A Boolean value that specifies whether to delete child processes. Specify false to only delete the parent process.
| Programming with LiveCycle ES (LiveDocs) |
| Adobe LiveCycle ES Update 1 |
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000822_2.html