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

Hi @Abdul 

 

I tried this on the Sc_task table, just an example

 

AGLearnNGrow_0-1745337228071.png

 

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

Dhana3
Mega Sage

hi @Abdul ,

 

maybe the you can't access the variables using current object. Put a log message in your code and check what is current.variable returning.

 

If it is not returning the right thing, you'll have to use GlideRecord.

 

Regards,

Dhanashree