We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to utilize decision table conditions through scripts

AnirudhKumar
Mega Sage

Hello folks,

 

I have created a decision table record and have added input and conditions via the Decision Builder.

Is it possible to use a script to access this Decision table, pass my parameters through the script and get the conditional result?

 

I'm aware this is easily done with a flow/subflow.

But I'm looking for a way to do it with script, kindly share if you've implemented this before

1 ACCEPTED SOLUTION

AnirudhKumar
Mega Sage

 

getDecisions!!!

Ha! I missed it... it was right there on the documentations page...

View solution in original post

1 REPLY 1

AnirudhKumar
Mega Sage

 

getDecisions!!!

Ha! I missed it... it was right there on the documentations page...