Add custom colors to workflow tasks or subprocess task steps

You can add a custom color to a workflow or subprocess during configuration or during run time.

About this task

The following procedure contains more than one method for configuring color. Select the method that suits your run-time workflow requirements best.

Procedure

  1. In the navigator, click Workflow > Workflows.
  2. In the resource list, select the workflow that you want to work with. If no workflow exists, create a new workflow.
  3. In the Displays panel, click Workflow Management > Workflow Editor.
  4. Click the Workflow Editor tab.
  5. Select the level you want to add a color to.
    To add a color to a...Perform the following action...
    workflow task Click the Task Details tab.
    subprocess task step Drag and drop a Local Subprocess into the workflow and click it, or click an existing subprocess. Click the Task Step Details tab.
  6. To preconfigure a color, perform the following steps.
    1. In the Highlight Color field, click the ellipsis button.
    2. Go to step 7.
  7. To preconfigure a color using a literal string value, perform the following steps.
    1. At the workflow level, on the General tab, click Edit next to Local Variables.
      The Edit Local Variables dialog box appears.
    2. Click Add.
    3. In the Type field, from the drop-down arrow, select String.
    4. In the Initial Value field, enter a color value (for example, red), and then click OK.
      Note: You cannot use an irrelevant string value, such as abcdefg, or an invalid hex code.
    5. Select the level you want to add a color to.
      • For a workflow task, click the Task Details tab.
      • For a subprocess task step, select a subprocess, and then click the Task Step Details tab.
    6. In the Highlight Color field, select Bind from the drop-down arrow.
      The Select Variable dialog box appears.
    7. From the Workflow Local Variables properties, select the string value that you entered earlier, and then click OK.
    8. Go to step 10.
  8. To set the highlight color to another property of type Color, perform the following steps.
    If you want to add the color from one subprocess to another subprocess, you require more than one subprocess in the workflow.
    1. Select the level you want to add a color to.
      • For a workflow task, click the Task Details tab.
      • For a subprocess task step, select a subprocess, and then click the Task Step Details tab.
    2. In the Highlight Color field, select Bind from the drop-down arrow.
      The Select Variable dialog box appears.
    3. From the properties of the workflow or subprocess that contains a configured color value, select Highlight Color, and then click OK.
    4. Go to step 10.
  9. To set a color using a Write activity, perform the following steps.
    1. Double-click a subprocess, insert a Write activity, and then click Add Write.
      The Select Variable dialog box appears.
    2. Select Highlight Color, and then click OK.
    1. In the Value field, click the ellipsis button.
    2. Got to step 7.
  10. To create a custom color from the color palette, perform the following steps.
    1. In the Highlight Color field, click the ellipsis button.
      The Color palette window appears.
    2. To create a custom color, perform one of the following actions.
      • In the Basic colors section, click a color, and then click OK.
      • In the color panel, select a custom color, click Add to Custom Colors, and then click OK.
  11. If required, from the drop-down arrow, select Bind to bind to another Object type or String property.
  12. To remove the color, click the arrow next to the property you want to clear, and then select Reset to Default.
  13. Click Save.