Skip to end of banner
Go to start of banner

Comala Workflows - Send email escalation for expired states

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 Next »

This script will send an email with a list of pages that have an expired state.

number [] issues = selectPages("stateexpiry > startOfDay()");

string body = "<p>The following pages are past the expiry date:</p>";
body += "<ul>";

for(number i in issues) {
body += "<li><a href=\"" + i.tinyLink + "\">" + i.title + "</a></li>";
}

body += "</ul>";

return body;

See Other Recipes

See More Documentation


  • No labels