Trying to use script include in a dictionary override...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 01:16 AM - edited ‎04-10-2024 06:23 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 01:38 AM - edited ‎04-10-2024 01:38 AM
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>);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 01:51 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 01:58 AM
You are right. I commented the line 11. But it's still not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 02:43 AM
Can you please share the code you are using in dictionary override?