Any questions? Need any help?

Click the Support button in the bottom right corner.


Page tree
Skip to end of metadata
Go to start of metadata

Here is a comprehensive list of all workflow node types that can be created:

Action name(s)DescriptionMinimum plugin version
Conditions
If

This action restricts access to its child nodes, depending on either:

  • the value of a variable (If variable...)
  • the current user that is viewing the page (If current user...)

This allows to make actions or widgets conditional, depending on the workflow's current state and/or depending on who is viewing the page.

Some useful tips

  • "If" conditions can of course be nested, which then behaves like an "AND" operation
  • Conditions that depend on the current user, are useful mostly for displaying widgets and/or actions that should not be available to everyone.

Examples:

  • If state equals APPROVED
    • this condition depends on the workflow's state
  • If current user is in allowedReviewers
    • this condition depends on who is viewing the page
-
Actions
Set

This action sets the value of a target variable (overwriting any value that was previously assigned to it).

Depending on the variable's data type, the value can either be:

  • the current user that is viewing the page
  • the value of a variable
  • a defined set of users & groups

Example:

  • Set Variable state to value WORK IN PROGRESS
-

Add

Subtract

This action adds (or subtracts) an argument to/from the value of a target variable.

Depending on the variable's data type, the added value can either be:

  • the current user that is viewing the page
  • the value of a variable
  • a defined set of users & groups

Example:

  • Add current user to variable viewedByUsers
-
User interaction
Show action (button)

Displays an action (button) for all involved users that are viewing the page. The button can be displayed in one of several possible locations, and all involved users can (optionally) be notified that the action is available.

This node has two mandatory child nodes:

  • Dependencies: allows to specify which data the action asks for, through the use of "Ask for data" child nodes. When the action is then triggered, any dependencies are assigned to the corresponding variables.
    • For more information, see the "Ask for data" action.
  • On action performed: any child nodes are evaluated as soon as a user triggers the action.

Example:

  • Show action (button) with label "Publish this page"
-
Show data

Displays data at the specified location, with the given label. The data can be either:

  • the contents of a variable
  • a static text

Example:

  • Show reviewNotes with label "Review notes"
-
Ask for data

This action must be placed inside the Dependencies node of a "Show action (button)" action.

Asks the user (that performs the action) for a data value. That value will then be assigned to the specified variable if (and when) the action is performed.

Example:

  • Ask for reviewNotes with label "Review notes"
-
Show link to page

Shows a link to the page that is stored in a variable of type "Confluence Page ID".  By clicking on the link, the user can then perform one of the following actions:

  • View the page
  • Edit the page

Example:

  • Show link to page with label "Edit WIP"
1.4.2
Confluence integration
On page updated

This action is to be placed at the top level of the workflow tree.

Children of this action node are evaluated whenever the current page is updated (modified).

-
Sync to page labels

This action syncs the value of the given variable to a label of the current page.

Note:

  • The sync is not permanent, it is only performed when this action node is evaluated.

Example:

  • Sync state to page labels
    • If the variable state equals "WORK IN PROGRESS", a label named "state-work-in-progress" will be assigned to the current page.
-
Add comment to page

This action creates a new comment on the current page, with the specified user an the author, and the specified content (coming from a variable of type Text).

Example:

  • Add comment by current user with content reviewNotes
1.5.0
Set/clear page restrictions

This action applies the given page restrictions, either to:

  • the current page
  • the specified page

The page restrictions are defined as follows:

  • the list of users who can view & edit, either as from a variable or a specified list of users & groups
  • the list of users who can view, either as from a variable or a specified list of users & groups

Example:

  • Set page restrictions: allowedAdmins can view & edit, involvedUsers can view
1.4.2 (for applying to a specified page)
Copy to new pageThis action makes an exact copy of the current page, and stores the reference to the copy into the specified variable of type "Confluence Page ID".1.4.2
Copy from page (as a new version)This action overwrites the current page with a copy of the page that is referenced by the specified variable of type "Confluence Page ID".1.4.2
Delete pageThis action deletes the page that is referenced by the specified variable of type "Confluence Page ID".1.4.2


Any questions? Need any help?
Click the Support button in the bottom right corner.

Try STRAD Workflows today...
Download it from the Atlassian Marketplace

  • No labels