Fix hidden tasks in workflow diagram view

In this tutorial 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.

Collibra workflow diagram with missing task in Eclipse

Prerequisites

  • Eclipse IDE.
  • Flowable Eclipse Designer plugin.
  • Access to a Collibra Data Intelligence Cloud 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.

Steps

  1. Open the diagram in Eclipse.
  2. Select the sequence flow pointing to the empty space.

    Collibra workflow diagram with missing task in Eclipse

  3. In the Properties view, select the General section.
  4. Copy the ID of the flow.

    Collibra workflow sequence flow ID in Eclipse properties

  5. Close the diagram in Eclipse, and then open the workflow file in a text editor.
  6. Find the row that contains flow27 and copy the targetRef, which is the missing task. In this example, it is scripttask3.
    <sequenceFlow id="flow27" sourceRef="add_compiled_policies" targetRef="scripttask3"></sequenceFlow>
  7. Go to the beginning of the file where the lanes are defined and find the ID from targetRef. In this example, scripttask3 is assigned to lane4 with the name Policy Steward.
    <lane id="lane4" name="Policy Steward">
      <flowNodeRef>servicetask7</flowNodeRef>
      <flowNodeRef>exclusivegateway1</flowNodeRef>
      <flowNodeRef>scripttask3</flowNodeRef>
      <flowNodeRef>callactivity1</flowNodeRef>
    </lane>
  8. Move the flowNodeRef row to the lane where it should belong. For example, move the scripttask3 row to lane3.
    <lane id="lane3" name="Stakeholder">
      <flowNodeRef>subprocess1</flowNodeRef>
      <flowNodeRef>scripttask1</flowNodeRef>
      <flowNodeRef>scripttask2</flowNodeRef>
      <flowNodeRef>scripttask3</flowNodeRef>
    </lane>
  9. Save the workflow definition file.
  10. Open the diagram in Eclipse.

    You can now see the task that was missing in the diagram.

    Collibra workflow diagram with missing task now showing in Eclipse