UpdatingContainerHandler
You can use UpdatingContainerHandler to handle execution of item which updates the workflow container with the specified values. These values will be visible in the subsequent tasks of the workflow.
UpdatingContainerHandler supports WebFlowConnector Provider. Items must belong to the WebFlowConnector.
Prerequisite is a valid workflow definition that has the corresponding parameters exported and imported (binding) between the task container and the workflow container. The administrator configures the UpdatingContainerHandler with these parameters accordingly in the custom XML file for an item type. With the support from the back end, this is available for 6.20 onwards.
Action name can be anything.
UpdatingContainerHandler does not expect specific properties. All parameters and values defined will be written to the container:
Item type for such item can be configured through a configuration XML file.
Example of configuring task TS00000001 and include properties "param1" and "param2" to be added to "action1":
<ItemType name="uwl.task.webflow.TS00000001" connector="WebFlowConnector" ..........> <Actions> <Action name="action1” userDecision="no" handler="UpdatingContainerHandler"> <Descriptions default="action1"/> <Properties> <Property name="param1" value="value1"/> <Property name="param2" value="value2"/> </Properties> </Action> </Actions> </ItemType> |
