Can i use sys_choice values in a decision table?

thomaskennedy
Tera Guru

I understand why a decision table will not let me use a Reference to sys_choice as one of my result columns. Is there a workaround?

 

I tried defining my result column as a Choice, but it will show me only choices from the current (private) scope. Is there a secret to making that option work?

2 REPLIES 2

Juhi Poddar
Kilo Patron

Hello @thomaskennedy 

This maybe useful to you: Populate choices from a Decision Table

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

My requirement is slightly different. I want to update the DT itself. I just had to figure out how to use that decison table api. Here's what I wound up doing:

 

https://www.servicenow.com/community/developer-forum/how-to-update-the-choices-in-my-decision-table-...