Posts

Showing posts with the label data mapper

Salesforce Fact #997 | Create Sobject record and upload files in one go in Omnistudio

Image
Suppose we have a requirement in Omnistudio where the user needs to enter some data in the Omniscript to create an Sobject record and also would upload one or more files to attach to the same record. For file input, there is a Content Parent ID attribute which can be populated, but in this case the parent record is not created yet. In order to achieve this, we can create a Data Raptor Load to create the Sobject record and then using Linked mapping we can map the LinkedEntityId and the ContentDocumentIds can be passed from the JSON node. In this example, the user creates an account record and at the same time, uploads and attaches one or multiple files to the created record. Reference:  https://help.salesforce.com/s/articleView?id=xcloud.os_upload_files_and_images_in_omniscripts_23397.htm&type=5 Attached are the screenshots.

Salesforce Fact #995 | NULL filter issue in Data Mapper Extract

Image
There's a known issue while using equals to NULL filter in Data Mapper Extract. To fix this, we need to add a not equals to operator. In this example, we are fetching contacts without AccountId populated. Attached are the screenshots.