sendWorkItemVersion() - 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
Class

com.enterworks.client.facade.workitem.WorkItemFacade

Parameters

SessionProfile profile — the session profile object for the current logged-in session.

Integer workItemVersionId — the identifier of the work item version to send.

String priorityCode — the priority code client selected (pass null value if client is not allowed to edit priority or has not changed it). Work item priority constants are defined in the class:

com.enterworks.shared.model.extensions.ESConstants int propertyFlag — the property update/reset flag.

ESConstants.P_WIV_PROPERTY_UPDATE is 'update'.

ESConstants.P_WIV_PROPERTY_RESET is 'reset.'

Collection (ArrayList) propertyList — a collection of properties should be set/update.

Collection (ArrayList) attachmentList — a collection ofnew/updated AttachmentVO.

Collection (ArrayList) removedAttachmentList — a collection of removed AttchmentVO.

Collection (ArrayList) selectedDestinationList — a collection of the selected destinations.

Description This method will send a work item version from its current activity to the list of selected destination activities passed to the method. The method will also update the work item priority, work item property list, and work item attachment list as required. One can pass in an empty activity destination list to have the work item version sent to the default set of activities defined by the process flow. One can also pass in an empty collection of work item attachments if no attachment data is modifed.