I'm working on a flow at present in which it comes to a point where I need to update a record based checking a field value. The following is a pseudo-summary
At Interview X in my flow
- I add an Update Records data-element
- Within it I add a Filter. IF "Category__c" Does Not Equal "Swimming"
- I then set my field value Category__c to an assignment variable (of type text) which I know by debugging has value "Swimming".
- ON running the flow the update does not occur.
It made me wonder if the Filter criteria applied in the update logic works differently to using a decision? I presume it doesn't apply the filter at the time of the update after I have already set the value to "Swimming". I would think the filter is checked before I set the value, before it tries the update. From the above (if my example makes sense) was using a filter correct as opposed to using a decision logic element?
One other thought was that the variable I am assigning to Category__c is a text variable while the field itself is a picklist. However the value should have matched. Is it correct that no conversion to a picklist is required?
Thanks in advance for any tips on this. Your help is appreciated.