SK SKYVVA Documentation

8. How to build Sample Data to Test the Formula of IWorkflow Condition?

Introduction

We have to enhance the ‘Workflow’ screen to allow users to build ‘Sample Data’ for testing formulas. This will provide an easy way to test the formula in the Workflow without having to update the IStructure in the Interface or the Message type. Additionally, we can handle Message types of type Salesforce sObject with no field entries.

The Configuring of Test Formulas in the IWorkflow Conditions

Refresh Button: The refresh button will get the sample data that describes from sObject, Message Type Field Entry, or IStructure, depending on the design of your interface.

For Example: On Interface V2 and Upload the IStructure, the refresh button will get sample Data from the IStructure of the Interface.

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]

[/su_box]

Change the Value field on the Sample Data -> Save

Click on the ‘Retrieve’ button, it will alert the pop-up screen ‘Retrieve Sample Data’ has two tap Existing File and Import File

Result: We can build sample data to test the formula. This is an easy way to test the formula in the workflow without updating the IStructure in the interface or the message type. We can also handle the message type of type salesforce sObject with no field entries.

[su_box title="Note" box_color="#2a8af0" title_color="#000000"]

[/su_box]

Open this article in the interactive viewer →