Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Showing error in run script to update "user is already in an AD group" in workflow

spandana kalla
Tera Contributor

Hi Community,

 

There is already a run script activity in workflow to update "user is already in AD group" in work notes. While testing it's showing error in the activity of workflow. Can anyone please help me with this. Please refer the below snips.

 

Thanks,

Spandana.

12 REPLIES 12

@Dr Atul G- LNG can you please say why it's showing error and where is the mistake?

 

Thanks,

Spandana.

Hi @spandana kalla 

 

I am not a pro here  😞 so need to seek expert advice.

*************************************************************************************************************
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]

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

Ankur Bawiskar
Tera Patron
Tera Patron

@spandana kalla 

did you try adding logs and see what is stored in the variable error?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar Can you please say where should I add ?

 

Thanks,

Spandana.

@spandana kalla 

after line 2

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader