List of Salesforce API calls made by each activity present in TIBCO ActiveMatrix BusinessWorks Plug-in for Salesforce.com.

List of Salesforce API calls made by each activity present in TIBCO ActiveMatrix BusinessWorks Plug-in for Salesforce.com.

book

Article ID: KB0082499

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Salesforce.com 2.4.1

Description

It is necessary to know the List of Salesforce API calls made by each activity present in TIBCO ActiveMatrix BusinessWorks Plug-in for Salesforce.com, if customer wants to decide the cost of each call to salesforce.

Issue/Introduction

List of Salesforce API calls made by each activity present in TIBCO ActiveMatrix BusinessWorks Plug-in for Salesforce.com.

Environment

TIBCO ActiveMatrix BusinessWorks Plug-in for Salesforce.com which is supported on BW 5.x enviroment

Resolution

Following are the list of Salesforce API calls made by each activity in Salesforce Plug-in. 

Salesforce Get Session:

login(): One call for the first time, later if session is expired or user selects refreshSession option.

Salesforce Create All : 

login():  if session is expired or this is first call from Salesforce plugin for given shared resource.

create():  Only once if records are less than 200 and request is successful. 
If records are more than 200 then plugin will make multiple calls in batches of 200 till all records are created. If user provides custom batchsize number of calls will change. 
If request fails due to network issue or session issue or any other recoverable issue, plug-in will retry the request.


Salesforce Retrieve All : 
login():  if session is expired or this is first call from Salesforce plugin for given shared resource.

retrieve():  Only once if records are less than 200 and request is successful. 
If records are more than 200 then plugin will make multiple calls in batches of 200 till all records are retrieved. If user provides custom batchsize number of calls will change. 
If request fails due to network issue or session issue or any other recoverable issue, plug-in will retry the request.

Salesforce Update All : 

login():  if session is expired or this is first call from Salesforce plugin for given shared resource.

update():  Only once if records are less than 200 and request is successful. 
If records are more than 200 then plugin will make multiple calls in batches of 200 till all records are updated. If user provides custom batchsize number of calls will change. 
If request fails due to network issue or session issue or any other recoverable issue, plug-in will retry the request.

Salesforce Upsert All : 

login():  if session is expired or this is first call from Salesforce plugin for given shared resource.

upsert():  Only once if records are less than 200 and request is successful. 
If records are more than 200 then plugin will make multiple calls in batches of 200 till all records are retrieved. If user provides custom batchsize number of calls will change. 
If request fails due to network issue or session issue or any other recoverable issue, plug-in will retry the request.

Salesforce delete All : 

login():  if session is expired or this is first call from Salesforce plugin for given shared resource.

delete():  Only once if records are less than 200 and request is successful. 
If records are more than 200 then plugin will make multiple calls in batches of 200 till all records are deleted. If user provides custom batchsize number of calls will change. 
If request fails due to network issue or session issue or any other recoverable issue, plug-in will retry the request.


Salesforce query : 

login():  if session is expired or this is first call from Salesforce plugin for given shared resource.

query():  Only once if records are less than 200 and request is successful. 
If records are more than 200 then plugin will make queryMore calls in batches of 200 till all records are processed. If user provides custom batchsize number of calls will change. 
If request fails due to network issue or session issue or any other recoverable issue, plug-in will retry the request.