- Developing SOA Applications with Oracle SOA Suite
- Using the Human Workflow Service Component
- Designing Task Forms for Human Tasks
- Reusing the Task Flow Application with Multiple Human Tasks
- How To Reuse the Task Flow Application with Multiple Human Tasks
How To Reuse the Task Flow Application with Multiple Human Tasks
- Open the
TASKFLOW_PROJ_DIR\adfmsrc\hwtaskflow.xmlfile. - For each additional human task, add the following element inside the file (at the bottom just before
</hwTaskFlows>):<hwTaskFlow> <WorkflowName>$TASK_NAME</WorkflowName> <TaskDefinitionNamespace>$TASK_NAMESPACE</TaskDefinitionNamespace> <TaskFlowId>$TASK_FLOW_NAME</TaskFlowId> <TaskFlowFileName>$TASK_FLOW_FILENAME</TaskFlowFileName> </hwTaskFlow
where:
-
$TASK_NAMEis replaced with the name of the human task inside the.taskfile (value of the<name>element). -
$TASK_NAMESPACEis replaced with the namespace of the human task inside the.taskfile (value of the attributetargetNameSpaceof element<taskDefinition>). -
$TASK_FLOW_NAMEis copied from the existing<hwTaskFlow>/<TaskFlowId>element. -
$TASK_FLOW_FILENAMEis copied from the existing<hwTaskFlow>/<TaskFlowFileName>element.
-