When the work item is created (via the portal), the automation properly sets the Approver Group. The emailed notification for the approval is sent.
However, the email doesn’t have the Approve/Deny buttons.
If I remove the Approvals Group after the request is created, then re-add either the same group or a different one, the notification does seem to work properly, it just doesn't work upon creation.
Customer Notification settings:
Workflow settings:
Automation rule:
Other notes:
When I searched for similar situations, most of what I found was about the notification not arriving at all (usually because of workflow settings or customer notification settings). I saw some with the notification security setting set to no buttons, one where the people in the approver group didn't have the customer role (in my situation, initially one of the three people in the group had the customer role, but everyone got the same email, same after I added the customer role to the other two). Or it was from long enough ago that it wasn't really applicable anymore.
This could be a timing issue between your automation and the workflow!
JSM fires the "Approval Required" email (with the Approve/Deny buttons) exactly once — the moment the ticket first enters the approval status. Your automation sets the Approver Group just after the ticket is created, but by then the ticket has already entered that status, so the notification goes out before the group is actually attached. No group = no buttons. That's also why manually removing and re-adding the group works — it triggers a fresh notification after the field is already set
A few ways to fix it -
1. Add an intermediate workflow status
This is the most reliable fix. Add a short "staging" status before your approval status. Have your automation set the Approver Group while the ticket sits there, then auto-transition to the approval status. By the time it arrives, the group is already set and the email fires correctly with the buttons
2. Move the automation trigger to issue creation
If your request type is always the same (which it sounds like it is for Remote Server Access), you could set the Approver Group at the point of ticket creation instead. The group gets populated before the workflow even moves, so the email should include the buttons first time, every time
The automation currently is at ticket creation (sorry, just realized my screenshot didn't show that).
Would doing a staging status still work? Something like:
Add a status to the workflow that the work item goes into upon creation, with a transition to the Waiting for Approval status.
Automation runs when work item is created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As mentioned by the approvers field has to be set before entering the status, so the field already has a value or this is set on the transition to the approval required status in the workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.