Blogs

How To Use Upsert DataRaptor Without Id In Omniscripts.

How To Use Upsert DataRaptor Without Id In Omniscripts. “First, we create an External ID, and the External ID is unique for every record.” “External ID is like a record ID.” Step 1: First, go to Objects > Fields & Relationships. Select “New Field,” choose the field type (Text, Number, Email, Phone), check the “External ID” checkbox under General Options, and save. Note– External Id is created only on custom field not on standard field “Note: To update the record, data should already be saved with an External ID.” Step2: Choose any load data raptor, open this data raptor, and copy the External ID. First, click on the ‘Field’ tab, and check the checkbox next to the field you want to update. “First, we will create dynamic records in our object and then update them.” Select object and field mapping, input JSON, and execute. With this process, you can upsert our records in Omniscripts without using an ID.

How To Use Upsert DataRaptor Without Id In Omniscripts. Read More »

Call Apex Class Using Integration Procedure within OmniStudio (salesforce / vlocity / OmniStudio)

Call Apex  Class In Integration Procedure  Frist write  Apex Class For Query 5 account Data Apex Code For Call Integration Procedure  In Apex class Create Global and implements Callable   global without sharing class ClassCalledFromIP implements Callable {     public Object call(String action, Map args) {         Map input = (Map) args.get(‘input’);         Map output = (Map) args.get(‘output’);         Map options = (Map) args.get(‘options’);         return invokeMethod (action, input, output, options);  }  private boolean invokeMethod(String methodName, Map inputMap, Map outMap,Map < String, Object > options) { Boolean   result = true ;   try {             if  (methodName.equalsIgnoreCase(‘getAccount’)){                 getAccount(inputMap,outMap,options);             }Else{  outMap.put(‘result’,”);             }         }catch(Exception e){             return false;         }  return result;     } public void getAccount (Map < String, Object > input, Map outMap, Map < String, Object > options){         List GetAccountData  = [ select Id , Name  from Account  limit 5];          outMap.put(‘result’,GetAccountData);     } }   In Integration Procedure  Remote Class – here we inter Apex Class Name Remote Method – here we inter Apex Class Method Name Remote Options — Send options In Apex Class From Integration Procedure  ADDITIONAL INPUT/OUTPUT/FAILURE RESPONSE > Return Only Additional Output > Additional Output — here we received data from apex class ResponseAction– Additional Output — in %%sine we inter RemortAction Element Name:Additional Output == %RemoteAction_CallApex:returnData% In Preview Tab

Call Apex Class Using Integration Procedure within OmniStudio (salesforce / vlocity / OmniStudio) Read More »

How to use upsert record DataRaptor in OmniScript

“Note: To update the record, data should already be saved.” Step1 – Dataraptor >Load Choose any data raptor, open this data raptor, and copy the Account ID. First, click on the ‘Field’ tab, and check the checkbox next to the field you want to update. “Upsert key: Make sure that if the records are already saved, then update them; otherwise, create new records.” “Required for Upsert: We use this option because only the field marked as required will be updated.” “Go to the ‘Preview’ tab, write a JSON, and execute.” “Note: It is important to include the required field in the JSON; without the required field, the JSON will be invalidated.” With this process, you can upsert our records in Omniscript.

How to use upsert record DataRaptor in OmniScript Read More »

How to upsert Null data with Load Data Raptor (Saleforce/Vlocity / OmniStudio)

First we create a brand new contact record in salesforce using Load Data Raptor. if you dont know how to create record using Load Data Raptor, Please see our Load DataRaptor blog. Input JSON for creating contact record. {“FName”:”Demo FName”,”LName”:”Test LName”,”Phone”:”6778″} Hit Execute To upsert a record In Fields — choose Upsert Key= true In Option  Mark Overwrite target for All Null Inputs =true (For Null Input) in OPTIONS tab. In PREVIEW Tab we pass the below json data {“Id”:”0035i0000AHhNbVAQV”, (This is the ID of the record that needs to be updated.) “FName”:” “, (Pass Null Data ) “LName”:”Test LName”, “Phone”:”6778″} Hit execute and open contact record

How to upsert Null data with Load Data Raptor (Saleforce/Vlocity / OmniStudio) Read More »

How to use Multi-language in omniscript.

How to use multi-language in omniscript.   In this post we will make omniscript like that when user want ,it can change the language of the omniscript.  So we create omniscript and make custom label to change the language, here we use french language to convert.Step1:-  Create an omniscript with multi-language support, see below image. Step:-2 Search workbench on setup, in Quick find box.                Select  Translation language setting. and after selecting “Enable” the workbench if not Enabled. after enable you will                     see the “Add” button. Step:-3  Search custom labels in the setup ,Quick find box.               Click on custom labels and after opening click on New custom Label  button.  Here we are creating new custom label so we can use it in the omniscript.           After saving it ,click on translation and click on New . With this process we can change and translate all words and whole Omniscript.

How to use Multi-language in omniscript. Read More »

How to Enable multi language for Custom Field label(Saleforce/Vlocity / OmniStudio)

HOW TO CHANGE Custom Field Language In Setup > Quick Find box > Translation Workbench >Translation Language Settings > Translate >User>Language Step 1: Enable Translation in Setup Box In the Setup menu, navigate to the “Translation Language Settings” . Click on the option to enable translation After Enabling Translation: “Once you have enabled translation in the Setup menu, click on the ‘Add’ option.” Explanation: “Clicking ‘Add’ typically allows you to add or configure specific translation settings for different languages.”   In Language  – “Select the language for which you want to change the custom field label.”   In Selected list  – Select which user we want to show  this Language     Step 2—  Move On Translate Language —  “We select the language chosen by the user, and this Field Label Translation will be displayed to the user (For Exp :- French).” Setup Component – “Here, we select where we want to translate the Custom Field.” Object – we select which object  we want to change (For Exp :- Contact) Aspect – we select field label Field Label Translation – Here we fill other language  (which we want to show to user) save this step Step 3 –   In user –Language  =  French  save this step .

How to Enable multi language for Custom Field label(Saleforce/Vlocity / OmniStudio) Read More »

  Transform Data Raptor / Send /Response Transformation & Response Action In IP (salesforce / vlocity / OmniStudio)

 Transform DataRaptor/Response Transformation & Response Action In IP. In this post we transform the record from one node to another node.  Step :-1 Create an Integeration procedure and drag SetValue , transform action and a                     response action in it .            SetValues for Store Inputs (Element Value Map).                                                            DataRaptor Transform Action select a dataRaptor Transform Action to transform the node.  Take a dataRaptor Transform action to transform. Name of the action “Send Response Transformation” DR IP. Send Json Path – In Send Json Path we assign input values from (SetValues ). Send Json Node – In Send Json Node we change the (input node) in to other node. Response Json Path- Here we Provide the “Output Json Path” From (Transform  dataraptor).Response Json Node- Here we change (Response Json Path ) to other node. Response Action- in Response Send Json Path, Here we pass  the (Response Json Node ) from Data Raptor Transform Action Send Json Node we change the node (Send JSON Path) to other node . In Preview tab 

  Transform Data Raptor / Send /Response Transformation & Response Action In IP (salesforce / vlocity / OmniStudio) Read More »

Override Omniscript node Using response. (salesforce / vlocity / OmniStudio)

In this blog  we override omniscript node using IP response. Step:-1  Create null set value  In omniscript which is used to collect the data returned from Integeration Procedure that will override the null value in omniscript. In Set Value Null element value mapping ( Element Name = NameMovies , Value = Null ) ,leave null value for set value in omniscript. Step:-2  create Integeration Procedure for omniscript.                                                                               Name(Reassign_Data_IP). In Integeration procedure drag a set value and create a value ,  (Name  = Movies) in Element Value Mapping   ( Element Name  =  MovieName,     Value=Bad Man). In Response Action click on Additional Output and pass the value ,so it can move to  omniscript (“NewNode”, %NameMovies%) see above picture. Step:-3 Now we need to add Integration Procedure in Omniscript. Add Integeration Procedure action in Omniscript.  Edit Send/response Transformation property of IP and fill the ( Response JSON Path –” NewNode:MovieName”and in Response JSON Node — Records)         We are all set for Preview                                           PREVIEW Tab before hit the Button (Integration Procedure GetData). set value is null. After clicking The Button set value is overridden. 

Override Omniscript node Using response. (salesforce / vlocity / OmniStudio) Read More »

Scroll to Top