Assignment rule depending on variable

Cristina Esteve
Tera Contributor

Hi guys!

 

I have created a variable inside a Catalog item that it's a reference type to the table service_offering. I have called it assignemnt_group. This variable is working fine.

Then I have created the Assignment rule that applies to this item, but the script is not working for me.

I have tried with several things, no good results. There is a way I can do this, but with the variable instead with an specific value?

 

current.assignment_group.setDisplayValue("name_of_assignment_group_2");

 

1 REPLY 1

Cristina Esteve
Tera Contributor

By the way, this is not working:
current.assignment_group.setValue(current.variables.assignment_group)