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.

Flows not triggering?

Georgi Yordanov
Kilo Contributor

Hello,

I am having a very strange experience with the Flow Designer.
I am developing a scoped application with its own tables and I am trying out the Flow Designer.
So what I want to do is to update the records and send emails when a certain 'State' is reached. Then I want to change the 'Stage' of the record through updating the record. The Flow should trigger when the 'State' field is updated and I have listed all of the states that there are with 'changes to'.find_real_file.png

So what is the problem you will ask? The problem is that the flow does not trigger or triggers with 2-3 minutes delay.
There is no problem when the flow has like 1 or 2 conditions but I am unable do to it with 1 condition because, yes you guessed 'changes' trigger does not work too. And btw I know if the flow is triggered or not, because all of the 'State'-s have own case. Can the problem be that I am using if - if else - if else and not only ifs? To make the things even more bizarre, when I test from the flow designer, the flow always works I will try to run it and will update you if I discover something. Adding even more salt to the wound is that I have another flow which triggers on creation and it works 100/100 cases!

Edit: I forgot to include some errors I get whenever I update a record which should trigger the flow, but the bad thing is that those errors are there even if the flow is inactive.
Java & JS error
Java error


Have a GREAT day 🙂

5 REPLIES 5

Oh, sorry.

I did not read this before.

So, did you solve your problem now?

Thanks for the update here!.

Mark as correcrt, so that others will find your solution also.

Thanks a lot

 

BR

Dirk