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.

Automation on Decision table record insertion

elanrajad
Tera Contributor

Can you please help me someone on below query.

I have a requirement to insert a row into the decision table via a scripting flow, where I have an input variable value and an output variable. The input variable references the schedule table, and the output variable references the group table.

 

1 ACCEPTED SOLUTION

Hello @elanrajad ,

 

Have you tried unchecking the "Enable draft authoring" box?

 

Regards,

Robert

View solution in original post

13 REPLIES 13

Thanks its working fine

Hello @elanrajad ,

 

Please change the line that starts with "condition" to this:

 

condition: String('u_schedule=' + dec),

 

PS: Thanks for marking one of my answers as correct but I would recommend that you pick my very first post because it responds to your question about updating Decision Tables via scripts. Whereas "Have you tried unchecking the "Enable draft authoring" box?" being marked as the correct answer may confuse people who are viewing this thread.

 

Regards,

Robert

 

Regards,

Robert

 

@elanrajad 

I haven't tried that script yet, will have to check

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@elanrajad 

Please follow the approach shared by @Robert H 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader