...
They are mostly used for apps made by ServiceRocket, such as:
However, they can also be used by any compatible app, such as Comala Document Management.
In addition, Comala Document Management provides its own Supplier – the Workflow Supplier – which that can be used in ServiceRocket with these apps and any other compatible app.
Where can they be used?
They can be used Use in any macro that supports Value References or Conditions – see Conditions, Content and Value References for a list of macros.
Available suppliers
Metadata Supplier – see also: Metadata references
How to use them
First, you must install the Reporting for Confluence app – this provides a numerous Suppliers, but more importantly, it enables their use via Parameter Injection.
You can access information from any ServiceRocket-compatible Supplier of the suppliers from apps such as Reporting and Scaffolding, by using a Supplier Keychain, without the "%
" symbols, in a Value Reference.
For example, if you want to display a message when a page is updated, but only if that page has child pages, you could use the children
key of the Page Supplierpage supplier
this key returns a list (a collection), which can be inspected using a Collection Supplier collection supplier to determine the number of child pages via its
size
key.
This can be used in a custom Condition on a trigger macro and also in the body of a set-message macro like so:
Code Block | ||
---|---|---|
| ||
{workflow:name=Check child pages} {state:Test|description=Update the page to test the trigger} {state} {trigger:pageupdated|state=Approved|@content:children > size@=!0} {set-message}Please check the content of the @content:children > size@ child page(s){set-message} {trigger} {workflow} |
...
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See also
External Links:Other app links
Developer Guide for creating Creating Suppliers
Scaffold Scaffolding Data SupplierSuppliers