How to add a message in AD user is add or not

nikhitha24
Tera Guru

Hi Team,

 

Can someone please help me on the below query.

Requirement: As per the below screenshot if the result is failure or success i need to add a message in the catalog item workflow as ‘The user already exists in the AD Group’ (or) ‘The user not found in active directory’ (or) ‘The AD Groups to add the user to are not found’.

 

nikhitha24_0-1710746911755.png

 Please help me on this how can we achieve this.

 

Thank you.

 

6 REPLIES 6

ARUN MANOJ
Tera Contributor

Hi @nikhitha24 ,

 

You cannot show info message from Workflow to Form, Workflow is server side and runs in background and form is rendered in front end.

Why not use display business rule to show the addInfoMessage when your condition satisfies.

 

You can create custom field in sc_task , when the condition satisfied from the workflow then the field get updated and BR need to get trigger when it updated/inserted ,trigger a addinfo message in the BR.

 

Thanks

Arun

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @nikhitha24 

 

I think if you use Flow it will be more easy , as flow has error handler which can be quick solution. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @ Atul,

 

Currently they are using workflow they will not for the flow.

Can you please  help how can we achieve this in workflow.

 

Thank you

Dnyaneshwaree
Mega Sage

Hello @nikhitha24 ,

Could you please elaborate your requirement i.e., where you want to show that message? And the solutions that you have already used to resolved this? So, I can help you accordingly.

Please accept my solution if it works for you and thumps up to mark it as helpful.
Thank you!!

Dnyaneshwaree Satpute
Tera Guru