Performing Service Operations Using APIs > Managing Processes and Tasks > Purging Process Data > Purging process data using the web service API

Purging process data using the web service API
To purge process data by using the web service API, perform the following steps:
1.
2.
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.
3.
Create a ConditionFilter object by using its constructor.
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.
4.
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.
View Quick Start
 

Performing Service Operations Using APIs > Managing Processes and Tasks > Purging Process Data > Purging process data using the web service API

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