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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

Value reference modifiers allow the transformation of the text value returned by a value reference expression by appending them at the end using the > separator:

@value_reference > modifier@

These modifiers are built into Comala Document Management. Also note that Supplier References from the Reporting Add-on use a similar format and offer many more options for data manipulation.

Available Modifiers


Available since Workflows 5.6


Transforms the value returned by attribute and event references whose return type are one or more usernames, so that usernames are displayed as Confluence profile links using wiki markup. Useful for including in workflows actions macros the process wiki markup for their content like send-email.

Examples

Value ReferenceResultValue Reference + ModifierResult
@assignee@<username>@assignee > wiki-link@[~<username>]
@Approval_ Name > approvers@<username1>, <username2>@Approval_ Name > approvers>wiki-link@[~<username1>], [~<username2>]
@taskassignee@<username>@taskassignee> wiki-link@[~<username>]

fullname

Available since Workflows 5.10


Transforms the value returned by attribute and event references whose return type are one or more usernames, so that user's full names are displayed. Useful for including in workflows actions macros the process wiki markup for their content like send-email.

Examples

Value ReferenceResultValue Reference + ModifierResult
@approvaluser@<username>@approvaluser > fullname@<fullname>


Usage

{workflow:name=Simple approval workflow|key=com.comalatech.sample.approvals.01} 
    {description} 
        Simple approvals workflow with two states using wiki-link modifier. 
    {description} 
    {pageheader} 
        || Approved By |{get-metadata:approvedby}|
    {pageheader} 
    {state:Draft|approved=Approved|taskable=true} 
        {approval:Review|assignable=true} 
    {state} 
    {state:Approved|final=true|updated=Draft|hideselection=true}
    {state} 
    {trigger:pageapproved|approval=Review} 
        {set-metadata:approvedby}@Review>approvers>wiki-link@{set-metadata}
    {trigger} 
{workflow}


  • No labels