POST Task - Salesforce

Last modified by Erik Bakker on 2023/01/30 13:56

About

With the help of this store item, you can easily 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 set up a connection 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 accepted by Salesforce.

2. Keynotes & restrictions

  • Note that the eMagiz user must have an app in the Salesforce environment for the OAuth2 connectivity to successfully connect.
  •  All responses from Salesforce can contain null values for fields that are not filled in. These fields are removed with an XSLT Transformer and then validated against the response system message. eMagiz users should take note that after this transformation, all attributes are transformed to String types. 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 floats. Salesforce returns all decimal values with exponents. For example, the field AnnualRevenue might be 52.E03, which is 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 it is advised to limit the number of rows you want to retrieve from the API.
  • 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 eMagiz Academy Microlearnings

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