Salesforce Fact #390 | Simulate ISNEW() in after save record-triggered flow

We know that if we have a record-triggered flow and it runs on record is created or edited and on before save, then we can add the condition Id ISNULL TRUE in the entry criteria to simulate the ISNEW() condition check.

But do you know in case of after save flow i.e. on action and related records option, you can add a condition to check ISCHANGED() on any of the audit fields i.e. CreatedById, CreatedDate, LastModifiedDate, LastModifiedById to check for the created scenario.

Credits: My project team


Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow