This connector uses the Salesforce REST API and provides a way to access Salesforce resources and manipulate objects.
This connector:
- uses the REST API to process a Salesforce opportunity.
- tracks the status of opportunities
- manipulates opportunities using the Salesforce Object Query Language (SOQL).
- Login to the Axon Ivy platform
- Click Starts in the Axon Ivy menu to open the available process starts
- Click on ChartDemo.
- The connector fetches all Salesforce opportunities via the REST API and display them as a bar chart
- Click on ListDemo.
- In this demo the connector displays the opportunities as list:
- Click on the "Add New" button:
- Add a new opportunity:
- Click on Opportunity Name to view details:
- Opportunity details:
- Opportunity details Activity:
- Click on the icon "Pencil" to update an opportunity:
- Edit opportunity:
- Click on the icon "Trash" to remove an opportunity:
- Delete opportunity:
For a client application to access REST API resources, it must be authorized as a trusted visitor. To implement this authorization, utilize a Connected App and employ the OAuth 2.0 authorization flow.
Important steps
- Create a Connected App to generate the necessary authentication information
-
Go to Setup -> Apps -> App Manager -> click on button New Connected App
-
Input all needed information
-
Generate Consumer key And Consumer secret
-
Configure Client credential flow
- Configure authentication providers for your application
- Activate the required settings in OAuth and OpenID Connect settings to facilitate secure authentication
- Set up Named Credentials to manage and secure access to external services
The Consumer Key and Consumer Secret are retrieved from the Connected App and placed in the variables.yaml
file.
Authentication information is set up as a global variable and can be updated anytime.
Variable name | Note | Example |
---|---|---|
salesforce-connector.auth.subdomain | The domain that Salesforce provides to consumers for authentication | axonactive3-dev-ed.develop |
salesforce-connector.auth.clientId | Consumer Id | 3MVG95mg0lk4bathQF4Z_F1GcZZPr8ztvo29c53HhwOXnCKBkP8LkxHnb5KlydXj3Oomw0VHsY |
salesforce-connector.auth.clientSecret | Consumer Secret | 56C6CA448B49032828FE4C4DF16D1AF4804B8CC734E066B255A5B31A |
salesforce-connector.auth.useAppPermissions | OAuth2 Grantype | true (client_credentials) |
salesforce-connector.auth.url | Salesforce Rest URI | https://axonactive3-dev-ed.develop.my.salesforce.com/services/data/v58.0 |