Trying to use script include in a dictionary override...

B_pppppp
Tera Contributor
I have the following situation: when the problem record is in state NEW or Assess, I want the assignment group field to show me only the groups with a certain group type. Let's call the group type 'Ana'.
Otherwise, when the problem record has another state from the assignment group field I can choose other groups, not only those with the group type 'Ana'. I created an Script include that I want to call from the dictionary override. But with no success til' now
11 REPLIES 11

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

I think there is issue with your query on type field

Use encoded query for that , like below

gr.addEncodedQuery('typeLIKE'+<your property with sys_ids of types>);

-Anurag

Vijendra Sainy
Giga Guru

I think the problem is with line number 11. Do you specifically created the field "state" in the group table. OOTB its not present? Debug using adding logs whether this script include is executing or not.

 

Vijendra Sainy

InfoBeans

You are right. I commented the line 11. But it's still not working

Can you please share the code you are using in dictionary override?