- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 04:55 AM
Hi,
I want to set an assignment group by a variables in the record producer.
This option will increase in the future.
Can these be achieved with assignment rule lookup?
Or do you create a custom table and make a mapping table to handle it?
Can it be done only with business rule?
I'm looking for a way that is as standard as possible and easy to manage without scripts.
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 06:09 AM
Hi,
I am assuming you have Category and SubCategory Field avaiable on the target table ?
If yes, then I would suggest you to go with Assignment Rule rather than the Assignment look up Rule :
You can create An Assignment Rule :
And to populate Assignment group you can script under script part something like :
if (current.category == "Hardware" && current.sub_category== "Hardware")
current.assignment_group.setDisplayValue("ABC");
else if (current.category == "Software")
current.assignment_group.setDisplayValue("XYZ");
else if (current.category == "Malware")
current.assignment_group.setDisplayValue("Security");
Let me know, if that answers your question and mark my answer as correct / helpful.
Kind Regards,
Mohammad Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 05:35 AM
Hi,
Thank you very much.
I'll try to install the plugin.
By the way, I would like to use this category and sub-category as an option for employees inquiry.
Is this something weird?
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 05:51 AM
Hi Mi,
As they're just variables on your record producer, I don't see that being an issue

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 05:07 AM
Hi Mi,
Please go through the link might this helps you
Mark my answer helpful or correct if this works for you.
Thanks
Swapnil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 05:24 AM
Thank you.
I will do this.
What do you think of setting a ssignment group in a record producer script?
How do you feel about management?
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 05:51 AM
Hi,
If you're using the script field in the record producer, you can just use the following to set the assignment group:
current.assignment_group = 'sys_id of the group';
And in 2nd question, I don't understand the management of what?