Examples
Overview
The following is a list of all examples from the Workflow Authoring Guide, Integration Guides and Reporting Guide.
Examples may only be applicable when applying the workflow as a space workflow, for example if the workflow uses a pagecreated
trigger event.
Some examples require the installation of a third party app.
-
Add a label to child pages — Triggers to add a label to page using a pagecreated trigger with either a
parenthaslabel
or aischildof
condition -
Add an approval counter to fast-track an approval — For a content review with multiple assigned reviewers, increment a metadata value each time a reviewer approves the content and set a trigger to approve the page when a set number of reviewers have approved the page
-
Add parallel approvals in a state — Add multiple reviews to a content review, set assignee requirements and review dependencies
-
Add workflow review information to a header for inclusion in a page export — Use the workflow to add a header containing details of the workflow review to comply with a records retention policy for exported approved page PDFs
-
-
Adding page activity to email — Include page activity report, or a link to it, in custom email notifications
-
Communardo Metadata for Confluence app — Using the Communardo metadata as value references in a workflow - including use in a custom condition for a trigger macro
-
Customize approval decision buttons — How to change captions of the Approve and Reject buttons created by the
approval
macro. -
Dynamic page header using a metadata value and triggers — Use a trigger to display a different page header for each state in the workflow. Page header content is set as a metadata value.
-
Expiry Dates — States, tasks, and messages can be set to expire on a certain date or after a certain amount of time
-
Exporting to PDF with K15t PDF Exporter — Export pdf macro and example of the use of
pdf-export-success
andpdf-export-error
event triggers -
How can I fast-track a single rejection or a single approval decision — How to require everyone to approve, but only need one person to reject
-
Make tasks disable a review — Two ways to use tasks to disable a review. The first way uses a precursor task state where the tasks can be set and completed. The second example uses a Value Reference as a condition to check that all tasks are complete. For the value reference method, you will need the Reporting for Confluence app in addition to Comala Document Management.
-
Message notification styles — Test the
style
parameter of the{set-message}
macro -
-
-
-
-
-
Require Parameters on a state transition — Require workflow parameter values to be set before moving into a workflow state.
-
-
-
-
-
State expiry dates — Using state expiry dates, defining them with metadata, and making them editable
-
-
-
Updating a mandatory reviewer for an approval assigned using a workflow parameter — Use workflow parameter as a mandatory assignee and the pageparameterupdate event to update the reviewer if the workflow parameter value changes
-
Use attachment events in workflow triggers — Triggering events when attachments are created, updated, or removed.
-
Use blog post events in a workflow trigger — Workflow events associated with blog posts
-
Use metadata to increment a content version — Increment a composite version number for example, major.minor.patch metadata value each time a reviewer approves the content
-
Use metadata to increment composite major, minor, patch content version on an approval decision requiring a parameter — Use the
{increment-metadata}
macro to increment major.minor.patch metadata value for a single approval using three triggers. -
-
Using comment events in workflow triggers — Triggering events when comments are created, updated or removed, or inline comments are created or resolved on the page.
-
Using Read Confirmation events in workflow triggers — Triggering events when a read confirmation is created, updated, or acknowledged, or inline comments are created overdue for the final state in a workflow
-
Using set-message and metadata to display different information for the draft and published content — Using the
view
parameter of theset-message
macro to display a different metadata when users view the draft or published versions -
Using workflow parameters to create reviewer teams in a space — Using workflow parameters to create teams of users for use in approvals
-
Who can be assigned, or assign users to an approval — Define who can take part in, or be assigned to, a content review.