GET Relation - Salesforce

Last modified by Erik Bakker on 2023/01/30 15:05

About

With the help of this store item, you can efficiently perform operations in the Salesforce system with the help of eMagiz. This store item provides several flows related to standard operations and the associated system messages of these operations. All flow items support OAuth2 connectivity to Salesforce’s REST API.

Documentation

1. How to use

With this store component, you can easily connect to Salesforce to perform operations within the system. A flow can easily be copied to retrieve information from another Salesforce endpoint, and the general format of the system message definition is accepted by Salesforce.

2. Keynotes & restrictions

  • Note that the eMagiz user must have an app in the Salesforce environment for the OAuth2 connectivity to connect successfully.
  • All responses from Salesforce can contain null values for fields that are not filled in. These fields are removed with an XSLT Transformer and validated against the response system message. eMagiz users should note that all attributes are transformed to String types after this transformation. This means that further transformation is required before passing the gateway message validation. Especially Integers, Decimals, and Enumerations should be transformed, but also Booleans and other non-string types.
  • All decimal values should be converted to doubles or float. Salesforce returns all decimal values with exponents. For example, the field AnnualRevenue might be 52.E03, only allowed by xs:double or xs:float.
  • To obtain fields using a GET HTTP method for operations like Accounts, Invoices, etc., the eMagiz user must specify a SOQL query in the HTTP Outbound Gateway in the flow. An example is given in each flow, although limiting the number of rows you want to retrieve from the API is advised.
  • Check out the following link for more context on the OAuth2.0 protocol in relation to Salesforce.

3. License Information

Part of the standard license agreement as agreed upon when using the store for the first time.

4. Relevant Documentation

Would you please consult the privacy policy of eMagiz at the following link