Usage of new ISCLONE() function in Record Triggered flows and Considerations
Overview ISCLONE() is available in flows as part of Winter 23. So let us see a use case where we can use ISCLONE in flow and what are some considerations compared to the same implementation using Apex. Use Case The account is having 2 record types: 1. Standard 2. Premier Both are assigned to different page layouts In standard Account Layout, we have a new custom look-up added called Primary Contact, but it is not added to Premier Account Layout. Since Clone is not available by default in Account - we need to create a custom clone button and add it to Premier Account Page layout: Problem Statement 1. Create a new Standard Account by populating Primary Contact 2. Convert it to Premier Record Type 3. Clone the Account and create a new Account 4. Check the Premier Contact value in the new Account - Value is empty Reason Standard clone can only clone field values present in the UI. Since primary contact is not added to Premier Account it is not copied over to the new account. How to Sol...