...
The action sends an email to the users who have been added as values for the workflow parameter@document_user_reviewers@
.
Code Block |
---|
"triggers":
[
{
"event":"on-expire",
"actions":[
{
"action":"send-email",
"recipients":[
"@document_user_reviewers@",
"@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"
}
]
}
] |
...