Downloads
GitHub: Dataraptor Extract Action json
Steps
Step 1. Create an Extract Dataraptor
Step 2. Create Omniscript
Step 1. Create an Extract Dataraptor
Open ‘Vlocity DataRaptor Designer’ tab and click on ‘New’ button. Fill the fields with the following values and click on ‘Save’.
Click on the ‘Extract’ tab and get the Account object filtered by ‘accountId’ value.
Click on ‘Output’ tab and get the account id and the name fields.
Click on ‘Preview’ tab and in the ‘Input Parameters’ area set an account Id value with the following format.
Step 2. Create Omniscript
Open ‘Vlocity OmniScript Designer’ tab and click on ‘New’ button. Fill the fields with the following values and click on ‘Save’.
Drag and drop a ‘Set Values’ action. Create a variable called ‘accountId’ and add an account id to test.
Drag and drop a ‘DataRaptor Extract Action’ action. Set ‘DataRaptor Interface’ field as ‘POC1: Extract Action’ and create one row in the input parameters. Set ‘Data Source’ and ‘Filter Value’ fields as ‘accountId’.
Drag and drop a ‘Step’ group.
Drag and drop a ‘Formula’ function and set its value as %account:Id%
Drag and drop other ‘Formula’ function and set its value as %account:Name%
Click on ‘Preview’ tab and check the values.
Really useful article Ignacio! Look forward to the next one. 🙂
LikeLiked by 2 people
Thanks Anup!
LikeLike
Thanks for the article.
Hope you will share the other useful velocity related blogs
Thanks again
LikeLiked by 1 person
Thanks Prashant!
LikeLike
Could you please guide me that how to create records on the click of the submit button in the background
thanks.
LikeLike
Hi Prashant,
You can check my post about Dataraptor Post Action:
https://salesforce-ignacio-sarmiento.com/2018/08/20/dataraptor-post-action/
Let me know if this helps you to solve your issue
LikeLike
Hi Ignacio,
thanks for your answer, but my question a bit different.
I need to create an Account record in Salesforce when the user is done with a flow and when clicks on the “SUBMIT” button a record should be created in the background.
LikeLike