Posts

Showing posts with the label create record

Salesforce Fact #987 | Skip matching records in flow create records

Image
The 'Skip the matching records' option flow Upsert operation is pretty helpful. If this option is selected, the flow first fires a SOQL to find out the matching records and if any found, skips the Create DML. This is not the case in Apex and in case of Upsert, it always fires the DML regardless of the record's existence. Attached is the screenshot.

Salesforce Fact #966 | Access fields after create record in GraphQL

Image
With the new mutation feature with GraphQL, the field values of the created record can be accessed right after the create record operation. In this example, there is an automation to set some value on the Description field and a formula field is also present on the Contact object. Both are accessible right after a record creation. Attached are the screenshots.