Versions Compared

Key

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

...

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 Supplier. It will return

  • this key returns a list (a collection), which can be inspected using a Collection Supplier to determine the number of child pages via its size key.

...

  • This can

...

...

...

  • macro and also in the body of a

...

...

Code Block
languagetext
{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}

...