Unable to activate conditions on models using model.getConditionByName() or through actions. Returning salesforce SOQL error because of missing quotes over Id
I’m having 2 models on same object ,one being used to set and activate the conditions for the other model. All working fine but it’s returning SOQL error because of missing quotes over Id field in generated SOQL where clause.
If we have a close look(sorry for the small pic), we’ll notice that there is no quotes over second where clause condition i.e genesis__collateral__c = xyzId without surrounding quotes. This is causing SOQL to fail.
Even after making escape condition to true i.e getFieldValue(row,field,true) made no difference. I have been stuck on this for long now without any success. Any help will be appreciated.