Versions Compared

Key

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

\uD83E\uDD14 Problem

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

...

(info)  Information

When using due dates in the 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 We suggest setting 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.When using the Comala Document Management cloud, ensure the default expiration ‘message is set correctly in the trigger sectionto be at least 10 minutes from the current time, especially for testing purposes.

  2. Double-check that the default expiration message is accurately set in the trigger section as is explained in our documentation: on-expire event.

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.

...

  1. Please refer to our documentation about the send-email trigger action send-email trigger action for more details.