I recently attended a presentation by
@Martin Burman where I realized about the feature where I could set trigger conditions rather than firing every time and then stopping at the first step if the test wasn't true. A game changer for me!
So, I am retooling my Flows to cut down on the noise, and for the most part, most flows are converting fine. However, I am trying to retool a flow with a CDS trigger "When a record is updated" and the subjectid needs to be equal to a certain GUID value to fire. This works fine in the condition action currently, but when I move it up to the trigger condition, I get an error "Cannot read property 'properties' of undefined" This is the condition:
@equals(triggerBody()?['subjectid'],'myguidvaluehere')
I have also tried it without the single quotes and I have tried it trying to insert the guid logic expression, which makes for clearer errors, but still incorrect. I have received this error before and it tends to be that the field name was incorrect or misspelled, but I am sure that is not the case here. Any advice on where I should look to next?
------------------------------
Audrey Forrest
Senior Accountant and Business Analyst
CRMUG Co-Chapter Leader Seattle/PacNW
Seattle WA
------------------------------