Assignment rule not working

johnrob18
Giga Guru

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

find_real_file.png

12 REPLIES 12

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?

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!

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!