How to fix Salesforce plugin activity timeout setting doesn’t work issue

How to fix Salesforce plugin activity timeout setting doesn’t work issue

book

Article ID: KB0074729

calendar_today

Updated On:

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

Description

Sometimes, the Salesforce plugin activity timeout setting doesn’t work. For example, in SalesforceQueryAll activity, we’ve configured the timeout under _configdate/timeout to be “60000” ms(10 minutes), but still, the activity keeps timing out after 3 minutes.

Issue/Introduction

How to fix Salesforce plugin activity timeout setting doesn’t work issue

Resolution

The 3 minutes timeout limit is a BW engine level parameter, to change it, you can try below setup:

1. If you are running the project from BusinessStudio, Please append the property -Dbw.engine.activity.async.waitTime=<timeout value in milliseconds> in the "VM Arguments" section of the "Run Configuration" dialog and give a try.

2. For runtime, add the following property in the config.ini for the appnode.

bw.engine.activity.async.waitTime=<timeout value in milliseconds>

3. For TCI, You can go to "Environment controls" in TCI project, choose "Engine variable" on the left panel, add the property as the Value of "CUSTOM_ENGINE_PROPERTY"and re-Push the App.