Activate and Set Condition Action Consistently failing?!?!

  • 1
  • Problem
  • Updated 2 months ago
  • Solved
  • (Edited)
Totally at a loss. Same condition in many other places works fine. Works on Event object but not Task object.

On Event this works.

                <condition type="multiple" value="" field="Asset_Manager__r.Display_Name__c" operator="in" enclosevalueinquotes="true" state="filterableoff" inactive="true" name="DisplayName">
<values/>
</condition

<action type="setCondition" model="EventDetails" condition="DisplayName" value="{{split}}"/>
On Task this doesn't.

                <condition type="multiple" value="" field="Asset_Manager__r.Display_Name__c" operator="in" enclosevalueinquotes="true" state="filterableoff" inactive="true" name="DisplayName">
<values/>
</condition>
<action type="setCondition" model="TaskDetails" condition="DisplayName" value="{{split}}"/>
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 2 months ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
hhhh  .... well then ....

So. I have a snippet as my first action to deactivate all conditions whose names don't start with "master_" or "activity_master_" in my model. Removing this snippet as the action before fixes my issue.

So I added a jquery promise and it fixed the issue. Deactivating a condition client side shouldn't need a jquery promise. Yeah?