What You May Need to Know About Deleting a Wire Between a Human Task and a BPEL Process
If you delete the wire between a BPEL process and the human task service component that it invokes, the invoke activity of the human workflow is deleted from the BPEL process. However, the taskSwitch switch activity for taking action (contains the approve, reject, and otherwise task outcomes) is still there. This is by design for the following reasons:
-
The switch activity contains user-entered BPEL code.
-
The switch can be reused if the intention for deleting the wire is only to point to another human task.
-
Deleting the switch is a single-step action.
If you then drag and drop a human task service component into the BPEL process to use the same taskSwitch switch activity, a new taskSwitch switch activity is created. You then have two switch activities in the BPEL process with the same name. To determine which one to delete, you must go into the approve, reject, and otherwise task outcomes of the taskSwitch switch activities to determine which is the older, modified switch and which is the newer switch.