How to add a message in AD user is add or not
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 12:32 AM
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’.
Please help me on this how can we achieve this.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 12:52 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 03:06 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 03:19 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2024 03:56 AM
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.
Thank you!!
Dnyaneshwaree Satpute
Tera Guru