We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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

Ankur Bawiskar
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