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
Scaffolding app - Retrieve list-data via supplier reference
Overview
This example requires that you have the ServiceRocket Scaffolding Forms and Templates app and the ServiceRocket Reporting for Confluence app installed.
If the reporting app is not installed, the value retrieved will be empty
Example
First, complete the following ServiceRocket list-data tutorial:Â Using Confluence User Names as Options
The Supplier References to the three lists are as follows:
@data:Project Manager@
@data:Developers@
@data:Tech Writers@
The list names are case-sensitive, and must be typed exactly as defined in the Scaffold.
Sending emails to users defined in Scaffolding list-data
You could use these references in conjunction with the send-email macro, for example:
{workflow:name=List email}
{state:Editing|submit=Review}
{state}
{state:Review}
{state}
{trigger:statechanged|state=Review}
{send-email:user=@data:Project Manager@,@data:Developers@,@data:Tech Writers@|subject=Review started}
Please review @pagelatest@
{send-email}
{trigger}
{workflow}
The scaffolding data will always be returned from the latest version of the content.
This latest version returning the data can be in a draft state in the applied workflow.