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.

Code snippet flow Designer

Rafael Batistot
Kilo Patron

Hi team, 

 

I could get the snippet code from flow designer 

 

but I would like to know if may I run in business rule? Is there some logic in the trigger part that I need to personalize 

 

if is possible to run a flow designer with business rule, how can I do that, it’s a run before, after, sync… 

 

thank’s in advanced 

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.
2 REPLIES 2

Maik Skoddow
Tera Patron
Tera Patron

Hi @Rafael Batistot 

 

Sure, the received snippet code for a (Sub)Flow can be utilized in a Business Rule, just like everywhere else you can run server-side code.

Whether it's a before/after/async Business Rule is not directly dependent on your (Sub)Flow but on your underlying use case or business requirement. Without more details from your side, I cannot give any recommendations. 

 

Maik

Hi @Maik Skoddow 

 

Thank you for you support. 

In flow designer I have a processo to rise ticket by email, this process is by inbound email 

 

but in the triggers condition there is no the option to create a condition like: “Email from” 

 

I would like to set an specific external email by BL 

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.