We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Working with Salesforce processor

Introduction

This document explains the steps required to get all SalesforceObject using GetAllSalesforceObjects processor.

List of processors required

Processor

Comments

GenerateFlowFile

Generates empty flowfile content.

GetAllSalesforceObjects

Gets all the available Salesforce objects.

UpdateAttribute

Updates output file name in flowfile attribute.

PutFile

Stores flowfile content in given output directory.

PublishDataSource

Publishes data source to the dashboard application.

 

Overview

In this sample, GenerateFlowFile generates empty flowfile. GetAllSalesforceObjects processor will get all Salesforce objects and update it in generated flowfile. UpdateAttribute processor updates the file name in flowfile attribute. Finally, PutFile processor stores the transformed content in given output directory with given specific name.

 

Step 1: Drag and drop the GenerateFlowFile processor to the workarea. Double click the processor and choose “SETTINGS” tab in configure dialog. Rename processor name as per your requirement in Name field.

Choose “SCHEDULING” in configure dialog. Change the “Run Schedule” field as per your need. For example: 1 day, 1 hour, 5 minutes, 30 seconds. In our sample, we used 1 day.

 

Step 2: Drag and drop the GetAllSalesforceObjects processor to the workarea. Double click the processor and choose the “PROPERTIES” tab in configure dialog. Add SalesforceAuthenticationService controller service as shown in following screenshot.

Then, make connection between GenerateFlowFile and GetAllSalesforceObjects processor with success relationship.

Note: If you want to ignore failure relationship, auto terminate the failure relationship in configuration popup as shown in the following screenshot.

Step 3: Drag and drop the UpdateAttribute processor to the workarea. Double click the processor and choose “PROPERTIES” tab in configure dialog. Using Add button add new attribute “filename”, enter the required filename with specific file format as its value. Then, make connection between GetAllSalesforceObjects and UpdateAttribute processor with success relationship.

 

 

Step 4: Add PutFile processor and configure the required property fields in configuration dialog. Make connection between UpdateAttribute and PutFile processor with success relationship.

 

Step 5: Once all the processors are configured, start the workflow.

Note: In this sample, the required properties which appears in bold under properties tab, you must fill those fields with necessary value. Other properties (not in bold) are considered optional.

Article ID: Published Date: Last Revised Date: Platform: Control:
8234 12/14/2017 09/28/2018 Big Data Platform General
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon