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.

Decision Table input error while using reference type.

Namita_Snow
Tera Expert

Hello Team,

 

I have a requirement to create two inputs in a Decision Table. There are two Selectbox variables available in the existing catalog with choice values. I am trying to use the question_choice table as a reference in the Decision Table for both inputs, instead of creating a Choice type. However, the Decision Table does not allow the use of the same reference table for more than one input (please refer to the attached screenshot).

 

I would appreciate any assistance on this matter.

 

Thank you.

1 REPLY 1

Filip12
Tera Contributor

Hi Namita,

I think I ran into the same issue as you have.
I created two different inputs both referencing the same table. When I tried to add both of them as a condition, I got the same error as you for the second one. I don't understand why this should be an issue, so I managed to find a workaround.

The condition columns are stored in the Decision Condition [sn_decision_condition] table. There is no annoying message there, so you are able to add the "duplicate" reference. You just need to correctly reference your second input and Decision table.