In Salesforce summer-22 release, salesforce launched View Tests (beta) which will help you to test Record Triggered Flow. In the Salesforce ecosystem, everyone knows Flow is the future of declarative automation tools. It will replace the existing workflow & process builder soon. After saving Record-Triggered Flow, click the “View Tests (beta)” button where you can create a new test. Here are easy steps:
Step 1: In the first step, You need to set the details of the test like Label, API Name & Description along with setting the DML operation (create or update) and then set the path for the test (Currently it has one option “Run immediately“).
Step 2: Here, You need to provide test data in the form of a record, and it will perform implemented functionalities of the flow.
Step 3: At last, you need to set Assertions. Here you can set multiple conditions without any limit and custom failure messages for each condition.
To check the test, You should select all tests and click the “Run” button and it will run all tests simultaneously. To run an individual test, You can select “Run Test and View Details” from the dropdown for the specific test.
intforce software is a software development firm. With a fresh perspective and dedicated attention to each client, we provide a complete IT solution globally. By defining, designing, and developing solutions tailored to meet our clients’ business objectives, we ensure that our clients get the maximum return on their investment and support them in tackling evolving business and technological issues. Our mission is to provide the best customer service and expertise using the most practical and robust web technologies/software technologies to satisfy our clients’ IT objectives and to provide them with the business and competitive advantage they needed to succeed.
To learn more about intforce’s portfolio, visit: https://perigeon.com/portfolio/
To learn more about intforce’s Salesforce capabilities, visit: https://perigeon.com/salesforce/
Drop us a mail at email@example.com to discuss your salesforce requirement.