[AEM6.5] How to popup error message when the workflow triggered by unauthorised usergroup or empty payload
Hi All,
I have created a workflow model which move page from one location to another.
Now I have to restrict this workflow for specific group. means only specific group can able to trigger the workflow not everyone like only peoples under project-author group can able to access then.
1- need your guidance here https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/workflows-managing.html?lang=en this will be the good approach or any other good way to achieve it
2- How to display a pop error message to author when they trigger the workflow like "Current user doest not allowed to trigger workflow becuase they are not in project-author group."
Triggring workflow like:

error message something like

Thanks