The Myndbend™ Process Manager action remove-approvers-by-status is used to automatically remove approvers from tickets, based on their approval decision. For example, you might want to remove all of the pending approvers when the ticket is closed, or remove all of the approvers that have approved a ticket if some data is changed.
How do I use this action?
Create a Zendesk trigger with conditions that match the moment when you want to remove the approvers.
Then set the action in MPM. For the action, select Notify Webhook - MPM Webhook. You will be presented the option to paste in the message that will be sent to our servers.
The message for this action is:
{
"action": "remove-approvers-by-status",
"data": ...
}
How do I specify the status setting that I want to remove?
MPM's action remove-approvers-by-status has two options you can use.
You can list out the statuses as an array of strings:
{
"action": "remove-approvers-by-status",
"data": {
"status": ["approved", "pending"]
}
}
Or as a comma-separated string:
{
"action": "remove-approvers-by-status",
"data": {
"status": "approved,pending"
}
}
Available options are:
- approved - Removes all of the approvers that have approved the ticket up to that point
- pending - Removes all of the approvers that are still pending at the moment when the message is sent
- denied - Removes all of the approvers that have declined the ticket up to that point
- skipped - Removes all of the approvers that were skipped up to that point