Example code - EnterWorks_Process_Exchange_(EPX) - 10.6

EnterWorks EPX Programmers Reference

Product type
Software
Portfolio
Verify
Product family
EnterWorks
Product
Precisely EnterWorks > EnterWorks Process Exchange (EPX)
Version
10.6
Language
English
Product name
Precisely EnterWorks
Title
EnterWorks EPX Programmers Reference
Topic type
Programming Reference
Reference
First publish date
2007

public int purgeWorkItems(String workItemName, Date startDate,

Date endDate, boolean completedOnly)

throws WorkItemException

{

String vargs[] = {

((workItemName == null) ? "" : workItemName ),

((startDate == null) ? "" : startDate.toLocaleString()),

((endDate == null) ? "" : endDate.toLocaleString() ),

String.valueOf(completedOnly) };

System.out.println (

getMessage("workitem.purge",vargs) );

// purge the work items as requested

return workItemFacade_.purgeWorkItemList(

this.getSessionProfile(),

workItemName,

null,

completedOnly,

startDate,

endDate,

false);

}