Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

Code Block
languagetext
themeRDark
@data:Project Manager@
@data:Developers@
@data:Tech Writers@
Info

...

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 {the send-email}macro, for example:

Code Block
theme
languagetextRDark
{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.

...

Info

This latest version returning the data can be in a draft

...

state in the applied workflow.