Expand my Community achievements bar.

SOLVED

[AEM6.5] How to popup error message when the workflow triggered by unauthorised usergroup or empty payload

Avatar

Level 7

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-man... 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: 

tushaar_srivastava_0-1684328662519.png

error message something like

tushaar_srivastava_1-1684329398086.png

 

Thanks

 

@kautuk_sahni 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Level 7

Thanks @Bhuwan_B ,

is it similar to
https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/workflows-man... this will be the good approach or any other good way to achieve it

and
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."

Avatar

Correct answer by
Community Advisor