IBM FileNet P8, Version 5.2.1            

Updating Workflow Data

Before you can update workflow data, you need to retrieve the Step Elements or Work Objects from a queue. See Querying for Step Elements or Work Objects for this information.

Note: Remember to lock the retrieved work item (by using VWStepElement.doLock(), for example).
Updates to workflow data include the following items:

Step Element parameters are defined by using the Parameter tab in Process Designer (see Process Designer), and have the following characteristics:

Updating Parameters

Use VWStepElement.getParameterValue() and VWStepElement.setParameterValue() to retrieve and update parameter values. For more information, see VWStepElement.

Updating Data Field Values

Use VWWorkObject.getFieldValue(), VWWorkObject.hasFieldName(), and VWWorkObject.setFieldValue() to retrieve work objects from a queue, extract, and update a data field value. For more information, see VWWorkObject.

Setting Comments

You can specify comments by using either VWStepElement.setComment(), or the VWWorkObject F_Comment field for VWWorkObject.hasFieldValue() and VWWorkObject.setFieldValue().



Last updated: March 2016
update_parameters.htm

© Copyright IBM Corporation 2016.