This site has moved to the integrated Appfire documentation and information site for our apps.

From February 2024 this site is no longer updated.

Take a look here! If you have any questions please email support@appfire.com

Edit states using workflow builder

Overview

A workflow state is a milestone in your workflow process. States can be used to manage each step in your workflow process using the workflow popup and tasks popup accessed through the state name breadcrumb and tasks breadcrumb on the page or blog post.

A state can be added, removed and edited in a workflow using workflow builder.

A state includes the state name, state color and description. Transitions from the state and approvals can be added to each state and are edited in the state. Tasks can also be set to be added to the workflow on the the transition to the state.

The state can be added/edited with a number of state attributes, for example, a due date for expiry of the content; the final state; a taskable state to allow a user to manually add a task.

The tasks breadcrumb is only displayed on the page when a task has been added either by the workflow, or manually by a user.

Workflow states are listed in the workflow panel in workflow builder.

Related pages

o

State names are case sensitive.

There are also a number of reserved characters that cannot be used in a workflow state name such as = # @  { | [.

State panel

Choosing a state displays the state panel for the state.

The following are displayed in the state panel

  • state name

  • state indicator colored circle

  • workflow

  • state attributes - displayed as a lozenge, for example if the state is taskable; is the final state; hidden from workflow popup (hide from path) progress bar; administrator only to action a transition (hide selection)

  • the Due Date or Due Date period for the state expiry (if present)

  • number of Transitions from the state

  • number of Approvals in the state

  • number of Tasks added on transition into the state

Choosing the state name opens the state editor.

The state editor can be used to set the state attributes parameters.

Inspect a state using workflow builder

Choose a state lozenge in the Navigator panel visual flowchart will display the state name and description for the chosen state in the left-hand workflow panel. 

o


This displays (as applicable to the state):

This state panel also displays the number of state approvals, transitions and tasks.

You can

  • choose each one to view and edit existing individual named approvals, the transitions or state tasks

  • create a new approval, transition or task by choosing +add  (or choose the number if present)

You can also add transitions, approvals and states by choosing the appropriate button in the navigator panel

State editor

Choose the state name

o

This opens the state editor

o

In the state editor you can

  • edit the state name (state names are case sensitive)

  • edit or add a description of the state - usually the state names some detail of its use and features

  • customize the state color choosing from a dropdown palette or by the addition of an hexadecimal color

State content due date

A due date can be set for the state in the state editor

o

This can be a time period starting on transition into the state or on a set date.

o

Set the duration for the due date using one of the dropdown options

  • Period -  set a value for a time period in one of the following time units - years/months/days/hours/minutes/seconds

  • ISO 8061 - time period set in a valid ISO 8061 format e.g. P1Y6M for 18 months, P1DT12H30M for 1 day, 12 hours and 30 minutes

  • Value reference - for example the value of a workflow parameter

A fixed date can be set using the popup calendar.

o

Ticking the checkbox allows users to edit or remove due date. Note that the due date is reset on each transition in the state.

State attribute parameters

In the state editor you can change the behavor of the state and the workflow popup on the page in the state.

o

  • Taskable - enable users to manually add tasks in the state using the page tools menu

  • Final - defines the current state as the final (published) state in the workflow.

Each attribute added to a state are displayed as lozenges in the state panel.

Only one state in a workflow can be defined as the final state. Choosing Final in a state will automatically uncheck FInal in any existing states.

Further state attributes can be set using options in the  Advanced dropdown checkboxes.

o

The workflow popup behavior for the state can be amended by ticking the checkboxes

  • Hide from path - removes the state from the workflow popup progress tracker when the content is in each of other states in the workflow

  • Hide selection - removes all transition options from the workflow popup when content is in the current state except for admin users

  • Version completed - removes the Final attribute from the state and adds a K15T Scroll Versions app compatible attribute to the state

State approvals, transitions and tasks

The state panel also includes the number of each of the following in the state

  • Approvals – the number of any content reviews (defined by approval macros)

  • Transitions – the number transitions from the selected state to another state in the workflow

  • Tasks - the number of tasks that will be added by the workflow on the transition into the state


Select each of these components to list the names for any existing approvals, tasks or transitions.

o

Choosing the component name opens the appropriate workflow builder editor panel for each individual named component

Choosing +Add option, for example + Add Approval above, also opens the editor to add a new approval to the state.

Add a new workflow state

One or more states can be added by choosing +Add State.

o


Enter the new state name and optionally add

  • a state description (to help your team understand the milestone activities for the content when it is in the workflow state)

  • state expiry or due date and if required check the box to allow users to edit the date

  • state indicator color using either the color palette menu or a hexadecimal color

Changes made to the order of the states will be reflected in the visual workflow diagram in workflow builder and markup notation in the markup editor but will not change any state transitions.

For any changes, once completed, ensure that you

  • choose Apply in the state editor to confirm the changes for the state

  • choose Save in the navigator panel to add these changes to the workflow

  • select Exit in the Navigator panel to add the updated workflow to the content

Ensure that your state name does not include any prohibited characters.

Related Pages

Edit states using workflow builder

User Guide

Workflow Authoring Guide

Administration Guides