Decision table help

BrianS344076034
Tera Guru

Trying to use a decision table for one of our teams to auto route tickets based on a custom field in incident

 

This is what we have

Category

Subcategory

Affected Item

 

Affected Item is custom in our environment

What the team wants is that if the Affected Item is X assign to person Y

I built the decision table as follows

 

Input

Label - Affected Item

Type - Reference - Incident - Condition column - Data to Evaluate - Field - Affected Item

 

Decision Table

Conditions

Affected Item (Incident>Affected Item)

I have a list of a few we want to use

Result

Assign to - sus_user

Person who should get the assigned incident

 

The table looks right

 

Then in the flow I have the following

Trigger - Incident Updated where assignment group changes to X (group name)

Look up Record

Make a decision

For the Decision table inputs it shows Affected Item, but the drop down shows Incident numbers as an example, and if I use the pill picker I am not able to select Affected Item from the incident record

 

Any ideas?

1 ACCEPTED SOLUTION

Todd Goodhew
Tera Guru

The field type needs to be the same.  Meaning, the Decision Table input needs to have the same type as the field you are going to pass in.  So in your case, change the type on the input in the decision table to Choice.  You can have that point to the choices for Affected Item.

View solution in original post

7 REPLIES 7

Todd Goodhew
Tera Guru

Try using the Trigger record in the Data panel on the right.

Expand "Incident Record", find Affected Item, then drag it to the "Decision table inputs" field.

 

In the example below, I used "Business Application".

 

ToddGoodhew_1-1776280316653.png

 

BrianS344076034_0-1776359790300.png

I get a not allowed when trying that

What I noticed is it will take a reference, but "Affected Item" is a Choice.  Would that be the reason?

Todd Goodhew
Tera Guru

The field type needs to be the same.  Meaning, the Decision Table input needs to have the same type as the field you are going to pass in.  So in your case, change the type on the input in the decision table to Choice.  You can have that point to the choices for Affected Item.