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

« Previous Version 6 Next »

Overview

Actions are macros which can be put in Event Triggers. When the event is detected, the trigger performs the actions.

They are extremely useful because they enable the workflow to automate common tasks - from adding labels, to sending emails and even synchronising content with another server.

Example

In this example, the trigger listens for the pagecreated event (only available in Space Mode) and then performs the set-message action.

{workflow:name=Action macros}
  {state:Test}
  {state}
  {trigger:pagecreated}
     {set-message}This is a new page created by @creator@{set-message}
  {trigger}
{workflow}

Value references

Most actions support Value References, such as @creator@ in the example above.

These are named placeholders for information stored somewhere else, and they allow your actions to respond dynamically to current workflow and content state.

Notifications

Certain actions will trigger notifications. For mode details, see the macro documentation below.

Macros

Action macros must be placed inside the macro body of a trigger macro.

Events

Certain actions will generate additional events. For more details, see the macro documentation above.

App configuration

Certain macros will be affected by application settings. For more details, see the macro documentation above.

Examples

See also

Workflow Authoring Guide:

  • No labels