Email condition

Abdul
Tera Contributor

Hi i need to trigger an email based on this condition, is this correct?

Abdul_0-1745336242832.png

the email is not getting triggered

2 ACCEPTED SOLUTIONS

Dr Atul G- LNG
Tera Patron

Hi @Abdul 

Why are you adding a condition to the workflow? It would be better to use the item name, as that would be more effective.

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

View solution in original post

Hi @Abdul 

 

Why you adding the script buddy you can mention in condition with dot walk

 

Item is remove access

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

View solution in original post

6 REPLIES 6

Dr Atul G- LNG
Tera Patron

Hi @Abdul 

Why are you adding a condition to the workflow? It would be better to use the item name, as that would be more effective.

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

hi okay i will change that but my main issue is , when request type is remove access this email should trigger is that code correct?

Hi @Abdul 

 

Why you adding the script buddy you can mention in condition with dot walk

 

Item is remove access

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

how can i do that i cannot see my variable request_type there