Salesforce Vlocity

Handy tips while working with Salesforce Vlocity Dataraptors

Smart way of working with Salesforce Vlocity Dataraptors

STart small but think big

Problem- How to improve productivity while working with Dataraptors

1)Always start with creating new version of the dataraptor, it avoids overwriting the existing stable changes, or you can always fall back to previous versions in case your changes don’t work as expected.

2)In Extract Data raptor, to fasten the mapping process, its better to copy the expected Json from Omniscript Perview and paste in Output tab of dataraptor.

    • Let’s do it together
    • Copy JSON from omniscript preview, for example we are planning to showcase account fields in omniscript, so we start with OS first and back engineer it.
      Preview OS


    • Create dataraptor
    • Output > Expected Json output > remove the extra JSON, just keep the one you require for the given OS fields
    • Add new mapping > Output Json Path (it will show the required Json that is required in OS), map this to your account fields. This is helpful when working with large set of objects, rather than going back and forth in OS, you can get all the required object field names in dataratptor.

3)To improve performance of dataraptor, don’t try to fetch more objects in 1 DR, as more objects mean more SOQL queries to SFDC, thus degrades the performance, in case its required an alternate formula field can be used to map 2 objects in SFDC and in DR, we can have single objects to fetch the required fields.

4)Enable field-level security in Dataraptor

5)Using Null value, in filter criteria of dataraptor by using “$Vlocity.null”

Dataraptor Null

Leave a Reply

Your email address will not be published. Required fields are marked *