Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Decision table API

kali
Tera Contributor

Hi All, I have a decision table with four inputs called category,location,Ticke id , category , location both are reference and ticket id is choice and i am using the below to get the answer 

var decision = new sn_dt.getDecisionTableAPI();

decision.getDecision('decisiontableID',inputs)'

and var inputs={'u_category:':'123','u_location':'538375',u_ticket_id:''} since ticket id is a choice type we have created a decision table record with ticket id is not empty then how should i create the input object and when i am passing my input it is giving me the default answer

 

Thanks for your help on this

0 REPLIES 0