Assignment rule not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2019 06:55 AM
Attempting to define Assignment Rules in Change Records to allocate an Assignment group based on the contents of the Business Service field.
I have been trying variations on the rules listed below but nothing seem to put anything in the Assignment Group field
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2019 02:40 AM
Hi Allen, finally got back to trying this
put this into script box on assign group and tried change with AGRESSO - South Oxford in Business service and ....nothing
The Assignment group field is mandatory - is this an issue?
if (busServ.indexOf("AGRESSO") > -1) {
current.assignment_group = 'AGRESSO';
Any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2019 11:11 AM
Hello,
That's not what my code posted above is doing. You've taken some of it and then altered it, incorrectly, to what you think is right and it's not. Sorry.
My script above assigns the current business service to a variable, then uses that variable to look within it to see if AGRESSO is present, just like that, all caps and says "AGRESSO" anywhere in the business service. If it does...then it would assign the assignment group on the current record we're talking about, which is a change record to the support group listed on the business service.
So you would need to use my code above that I gave you the first time, and then replace any field names I gave as an example to what you need and the rest takes care of itself.
Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2019 06:01 AM
Hello,
Just wanted to check-in on this. Please mark whichever reply of mine was Correct, if it was.
Otherwise, if you still need help, let me know.
Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!