I am trying to check muliple custom fields are set to a certain value and then set my custom field with the value it needs. We have ObjectSchema Complaint then Object Type Complaint Info then the Following objects:
- Routing (Custom Assets Field) - Set on (priority Consumer Complaint) by object INreference
- Attributes: Legal, Compliance
- Priority Consumer Complaint (Custom Assets Field) -
- Attributes: Yes (Routing = Compliance), No (Routing - No Value)
- Primary Category (Custom Assets Field) -
- Attributes: Home Improvement Services, Credit
I am trying to check if:
- Primary Category = Home Improvement
- Priority Consumer Complaint = Yes
- Then Routing would be set to Compliance
I have tried the following and it does not work:
- objectType = "Routing" AND (object having inR(objectType = "Priority Consumer Complaint" AND "Name" = ${customfield_11662.label})) AND (object having inR(objectType = "Primary Category" AND Name = "Home Improvement Services"))
- objectType = "Routing" AND (object having inR(objectType = "Complaint Info" AND "Priority Consumer Complaint".Name = ${customfield_11662.label} AND "Primary Category".Name = "Home Improvement Services"))
Does work is:
- objectType = "Routing" AND (object having inR(objectType = "Priority Consumer Complaint" AND "Name" = ${customfield_11662.label}))
Routing displays Compliance because of Priority Consumer Complaint = Yes. But i want to check more values than just the one. Reason is we have different Categories and not all complaints are Priority. How do i get it to check the other attributes values, and add that in addition to the filter that is working?