Trigger a Workflow when field changes

angel7170
Tera Contributor

Hello -

 

I have an existing workflow that I am using on "customer_contact" table. When the Title or the manager field changes for the contact, it should trigger a workflow. 

 

The issue that I have is when the manager field is changed from empty to an actual name, it should not trigger the workflow but when it changes from one person to another then it should trigger. How can I do that?

 

3 REPLIES 3

Sujatha V M
Kilo Patron
Kilo Patron

@angel7170  Workflow gets triggered based on the condition that’s set.

 

Did you try setting it as Manager is not empty or Title Changes? 

Please mark the post as helpful and accept the solution if it had helped in your case. 

Thanks, 

Sujatha V M

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @angel7170 

 

I had a similar case on community earlier as well, do you want to trigger the flow as soon as changes or after submit?

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

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

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @angel7170 ,

 

1. You need to create a flow instead of workflow.

2. Create a before update business rule on customer_contact table to check if previous value is not empty and trigger an event.

3. in the flow set the trigger condtion to start when the event is triggered.


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect