Fix hidden tasks in workflow diagram view

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

  1. Open the diagram in Eclipse.
  2. Click on the arrow pointing to the empty space.
  3. In the Properties view, select the General section.
  4. In the ID field, locate and copy the Id.
  5. Close the diagram in Eclipse, and then open the workflow file in any 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 object ID from targetRef. In this example, scripttask2 is assigned to lane4 with name Policy Steward.

    <lane id="lane4" name="Policy Steward">
      <flowNodeRef>servicetask7</flowNodeRef>
      <flowNodeRef>exclusivegateway1</flowNodeRef>
      <flowNodeRef>scripttask3</flowNodeRef>
      <flowNodeRef>callactivity1</flowNodeRef>
    </lane>

  8. Now, move the flowNodeRef row to the lane where it should be. For example, find where the lane named Legal 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>
  9. Save the workflow text file.
  10. Open the diagram in Eclipse.The object displays correctly.