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.

Using flow designer to apply template

YT Vero
Giga Contributor

Hello,

I have a flow in flow designer and I would like to use current.applyTemplate when creating a new incident record. I haven't had much luck in finding a way to accomplish this. Please find a screenshot of what I have tried so far. 

find_real_file.png

4 REPLIES 4

Chris Sanford
Giga Guru

Ok well yeah like you need your own action for this it won't work in the create record

Can you please share how I can create the action? 

Ok so yeah like

find_real_file.png

Mike49
Tera Contributor

I'm sorry but I tried this and it didn't work.  The insert() function returns the sys_id of the record if the insert was successful or null if it wasn't.  It doesn't return the actual record that was created.