Posts

Showing posts from August, 2025

Vlocity Facts #53 || Reset or Clear the data in Omniscript Screen

Image
In this post we will will discuss  How to Clear data by using set values How to Reset data by using any DataSource Set Values     In omniscript we can use set values to rest the data or populate the data by using the set value element.  Clear the data by using Set Values. I have added 2 text elements and one set value element in omniscript step In Set Value element which I have used in side the omniscript. I have used the First Name and Last Name -> as Element Name and value as null in set value with Label as "Clear" Note: Once you add the set value in omniscript step it will act as a button.                                             When user clicks on the "Clear" button the data which was entered by the user will be cleared and user can enter again. Output:  User Enter the data  After user clicks on clear button [Set Value] Reset th...

Vlocity Facts #52 || Using DataMapper Post as Rest API

Image
In Previous posts we have seen how to Using Integration Procedure as Rest API Using DataMapper Extract as Rest API In this post we will see how to Invoke DataMapper Post as REST API. Data Mapper Post Invocation Using POST You can use the Data Mapper REST API to invoke any type of Data Mapper. To update Salesforce objects using a Data Mapper Load, send a POST request with a JSON payload formatted according to the expected input structure of the Data Mapper Load. To update Salesforce data, issue a POST request with a URL formatted as follows: /services/apexrest/{myOrgNamespace}/v2/DataRaptor/ myOrgNamespace - Namespace prefix In the POST data, specify the following parameters: bundleName  — Name of the Data Mapper Load to invoke objectList  — JSON data to be loaded. Must match the format expected by the Data Mapper Load. filesList   — (Optional) Map of keys to base 64-encoded files. bulkUpload   — TRUE to use batch Apex. Example:  We will create a sample Data Mapp...