In this tutorial you will learn how to fix hidden tasks in the Eclipse workflow diagram view. This sometimes happens when you move a task to a another location and the association with the original swim lane breaks. These steps walk you through the process of locating the broken task and associating it with the correct swim lane.
Prerequisites
- Eclipse IDE.
- Flowable Eclipse Designer plugin.
- Access to a Collibra DGC environment as a user with the Sysadmin global role or a global role that has at least the Workflow Administration global permission.
- Access to the Collibra Console for troubleshooting.
For more installation details and to get familiar with the Eclipse IDE interface, see Getting Started with workflows.
Steps
- Open the diagram in Eclipse.
- Click on the arrow pointing to the empty space.
- In the Properties view, select the General section.
- In the ID field, locate and copy the Id.
- Close the diagram in Eclipse, and then open the workflow file in any text editor.
- Find the row that contains
flow27
and copy thetargetRef
, which is the missing task. In this example, it isscripttask3
.<sequenceFlow id="flow27" sourceRef="add_compiled_policies" targetRef="scripttask3"></sequenceFlow>
-
Go to the beginning of the file where the lanes are defined and find the
object ID
fromtargetRef
. In this example,scripttask2
is assigned tolane4
with namePolicy Steward
.<lane id="lane4" name="Policy Steward"> <flowNodeRef>servicetask7</flowNodeRef> <flowNodeRef>exclusivegateway1</flowNodeRef> <flowNodeRef>scripttask3</flowNodeRef> <flowNodeRef>callactivity1</flowNodeRef> </lane>
- Now, move the
flowNodeRef
row to the lane where it should be. For example, find where the lane namedLegal Review
is defined and move it there. It should look like this:<lane id="lane3" name="Stakeholder"> <flowNodeRef>subprocess1</flowNodeRef> <flowNodeRef>scripttask1</flowNodeRef> <flowNodeRef>scripttask2</flowNodeRef> <flowNodeRef>scripttask3</flowNodeRef> </lane>
- Save the workflow text file.
- Open the diagram in Eclipse.The object displays correctly.