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 2 Current »

Overview

This article describes how Expiry Dates interact with specific macros.

{state}

Expiry date is set via the duedate parameter, which accepts both date and duration formats, as well as Value References.

Upon expiry:

  • The expiry indicator in the workflow popup will turn red – see: State expiry date
  • If the expiry date occurs whilst the state is active (not before, not after):
    • The stateexpired event is sent
    • If the expiring state has an expired parameter, the workflow will transition to the state it specifies
      • Events statechanged and, depending on content type, either the pagestatechanged or newstatechanged will be sent
    • Watchers and participants will receive a notification

If the expiry date is before the date on which the state is entered, the state will show as expired but won't trigger any events or transition to another state.

Examples:

  • Page:
    Communardo Metadata for Confluence app — Using the Communardo metadata as value references in a workflow - including use in a custom condition for a trigger macro
  • Page:
    State expiry dates — Using state expiry dates, defining them with metadata, and making them editable

{set-state-expiry}

This macro can be used during an event (including expiry events) to set a new expiry date for a state.

It accepts both date and duration formats, as well as Value References.

Examples:

{task}

Expiry date is set via the duedate parameter, which accepts both date and duration formats, as well as Value References.

Upon expiry:

  • The expiry indicator in the workflow popup will turn red – see: State expiry date
  • If the expiry date occurs whilst the state is active (not before, not after):
    • The stateexpired event is sent
    • If the expiring state has an expired parameter, the workflow will transition to the state it specifies
      • Events statechanged and, depending on content type, either the pagestatechanged or newstatechangedwill be sent
    • Watchers and participants will receive a notification

Examples:

Filter by label

There are no items with the selected labels at this time.

{set-message}

When a {set-message} expires:

  • The message will be removed
  • That is all.

Examples:

{workflowparameter}

This macro creates editable Value References which, depending on its edit parameter setting, can be edited by Space admins or Users:

Be sure to specify the type as duration. Note that the resulting editable field will usually require an exact date to be input.

Examples:

  • Page:
    State expiry dates — Using state expiry dates, defining them with metadata, and making them editable


  • No labels