Versions Compared

Key

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

...

After the state expiration, the automatic transition or expiration actions don’t work.

...

(info)  Information

When using due dates in the States states and the ‘Expired' transition is set, the page/blog should automatically transition to the corresponding state and display the 'Expired’ message in the document.

  1. Ensure the due date selected isn’t a period minor than 10 minutes; if you are using Comala Document Management Data Center / Server you can check the scheduled jobs related to the expiration time.

  2. When using the Comala Document Management cloud, make sure the default expiration message ‘message is properly set in the trigger section.

e.g.,

Code Block
"triggers":
[
   {
      "event":"on-expire",
      "actions":[
         {
            "action":"send-email",
            "recipients":[
               "@watchers",
               "@creator",
               "@lastUpdatedBy"
            ],
            "notification":{
               "subject":"${content.title} has expired",
               "title":"${content.title} has expired",
               "body":"Hello, ${content.link} in the ${content.space} space has expired and needs to be reviewed"
            }
         },
         {
            "action":"set-message",
            "type":"info",
            "title":"Expired",
            "body":"The page has expired",
            "tags":"state",
            "mode":"autoClose"
         }
      ]
   }
]
  1. Note that emails related to expiration actions might take a few minutes to arrive.

Info

If the given recommendations don’t work, please contact support. We’ll be happy to help.