Modify FireFlow stages

This topic describes how to modify FireFlow stages (tabs).

Do the following:

  1. Click Apply changes to all workflows to export the current VisualFlow (VF) workflows into XML files.
  2. Edit the relevant workflow XML file in /usr/share/fireflow/local/etc/site/Workflows/ using an editor.

    Near the end you'll see the <images> tag.

    These are the stages (tabs). There are possibly different stages when the ticket is in different statuses. Below you will see the standard workflow for traffic ticket. When the ticket is rejected it only has 4 stages (tabs). When it is deleted it has no stages (tabs). Otherwise, the default is 7 stages (tabs). You can add an 8th one there.

    <images>
    <currentStatus name="default">
    <image name="new" />
    <image name="open" />
    <image name="check" />
    <image name="implement" />
    <image name="validate" />
    <image name="reconcile" />
    <image name="resolved" />
    </currentStatus>
    <currentStatus name="rejected">
    <image name="new" />
    <image name="open" />
    <image name="check" />
    <image name="rejected" />
    </currentStatus>
    <currentStatus name="deleted" />
    </images>

    After adding the new stage, assign a status to it in the </statuses> tag.

    "image" names in XML may be different than in the UI. The names are set according to the AFF param: WorkflowStagesNamesTranslation.

  3. Click Discard all changes. VF imports the edited XML files and updates the UI.

  4. Continue working normally in VF.

    In VF, the Stage dropdown does not show the new stage and it appears in the workflow layout with an empty title.