Skip to content

camunda-community-hub/camunda-8-connector-salesforce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Community badge: Incubating Community extension badge Compatible with: Camunda Platform 8

camunda-8-connector-salesforce

This collection contains different connector to realize operation on Salesforce.

Build

mvn clean package

Connection

For each connector, the connection information are the same. The input name is "connection", a JSON content. In JSON, parameters are:

Name optional? Example
userName
password
token
authEndPoint optional
proxyHost optional
proxyPort optional
proxyPassword optional
proxyUserName optional
connectionTimeoutInMs optional
readTimeoutInMs optional
restEndPoint optional
serviceEndPoint optional

Example:

{
  "userName": "pierre",
  "passwork": "myPassword",
  "token": "1234"
}

Create object

API

Input

Create one object in Salesforce.

In the API, it's possible to give a direct information to create an object, or a list of operation. This is piloted by the "mode" attribut.

{
  "mode" : "SINGLE|LIST",
  "ObjectType": ".....",
  "ListOfAttributes": {
    "name1": "value",
    "name2": "value"

  },
  "operations": [
    {
      "ObjectType": ".....",
      "ListOfAttributes": {
        "name": "value"
      }
    }
  ]
}

Output

According to the mode, the result contains one information, or a list of result.

{
  "ObjectID" : "...",
  "StatusOperation" : "",
  
  "operations": [
    {
    "ObjectID" : "...",
    "StatusOperation" : ""
    }
  ]
}

Element Template

Query Objects API

API

Query in Salesforce.

Execute a query, which returns a list of objects.

{
  "query": "....."
}

Output

According to the mode, the result contains one information, or a list of result.

{
  "operations": [
    {
      "ObjectID" : "...",
      "ObjectType": ""
    }
  ]
}

Element Template

Load Object API

API

Load a object in Salesforce

In the API, it's possible to give a direct information to delete one object, or a list of operations. This is piloted by the "mode" attribut.

{
  "mode" : "SINGLE|LIST",
  "ObjectId": ".....",
  "operations": [
    {
      "ObjectId": "....."
    }
  ]
}

Output

According to the mode, the result contains one information, or a list of result.

{
  "ObjectID" : "...",
  "StatusOperation" : "",
  "ListOfAttributes" : {
    "name1": "value",
    "name2": "value"
  },
  "operations": [
    {
      "ObjectID" : "...",
      "StatusOperation" : "",
      "ListOfAttributes" : {
        "name1": "value",
        "name2": "value"
      }
    }
  ]
}

Element Template

Update Object API

Update one object in Salesforce.

In the API, it's possible to give a direct information to delete one object, or a list of operations. This is piloted by the "mode" attribut.

{
  "mode" : "SINGLE|LIST",
  "ObjectId": ".....",
  "ListOfAttributes" : {
    "name1": "value",
    "name2": "value"
  },
  "operations": [
    {
      "ObjectId": ".....",
      "ListOfAttributes" : {
        "name1": "value",
        "name2": "value"
      }
    }
  ]
}

Output

According to the mode, the result contains one information, or a list of result.

{
  "ObjectID" : "...",
  "StatusOperation" : "",
  
  "operations": [
    {
    "ObjectID" : "...",
    "StatusOperation" : ""
    }
  ]
}

Element Template

Delete Object API

API

Delete one object in Salesforce.

In the API, it's possible to give a direct information to delete one object, or a list of operations. This is piloted by the "mode" attribut.

{
  "mode" : "SINGLE|LIST",
  "ObjectId": ".....",
  "operations": [
    {
      "ObjectId": "....."
    }
  ]
}

Output

According to the mode, the result contains one information, or a list of result.

{
  "ObjectID" : "...",
  "StatusOperation" : "",
  
  "operations": [
    {
    "ObjectID" : "...",
    "StatusOperation" : ""
    }
  ]
}

Element Template

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages