IBM Business Process Manager


BPM 8 REST API Cache problem?


Hello guys,
we are facing the following problem:
We have a bpm process that uses a two tasks logic - one user completes a task, second user checks what was done and sends resolution. If it's negative, the first user has to revise his work and another resolution is made, etc. until everything is fine and the process is closed.
When the first user is working on his his task, at some point on one of his coaches, an integrated external application (java servlet in the BPM coach) sends a rest api call to obtain a variable value, that was set in a prevoius step. The call is from the BPM Rest Service Api - GetData. The call returns the correct value when called the first time in the first occurence of the task.
But if the first user receives negative resolution and he needs to revise his work and do the task again (we have an iteration), when he reaches the step with the external servlet, the Rest Api call seems to have cached the results from the first call and returns the result from the first call. In the process the value is changed properly, but the Rest Api can't get the updated result. The rest call is made towards the task id of the new task that is generated by the negative resolution.
We noticed something that might help narrow down the problem: If you make the Rest Api call before the value is actually set - the call returns empty string for the variable value and right there the problem starts - every call for the value after that returns empty string even though the value is set in the task and visible in the debugger. After the task is completed the rest api call still returns the empty string. If you make the same call for a previous task it returns the correct value and starts working properly again (probably clears the cache).
This is not browser cache as if I try the call from another workstation or different browsers the result is still not updated. It is not cached for a specific time as we waited for the value to change and the update is visible after different time periods and different actions (it seems that at some point the value gets refreshed but it is not at exact time , something else triggers the value to be updated in the rest api call result).
The version is 8.0 with fixes up untill May 2013. Platform is AIX 64bit. Database is DB2.
Please help if you have any idea?

Related Links

IBM BPM on SQL Server 2008r2 on Windows 2008r2
US Phone CV with Validation
No vertical scroll even if my coach height exceeds screen
deployed processes can\'t be invoked after system detects inacitivy for a certain amount period
IBM BPM 8.0.1 and Admin console Cache
How to Call REST Api through Process Designer?
this.context is null BPM 8.0.1.1
KPI information
add holiday schedule
Cannot Create User From ProcessAdmin Console in IBM BPM 8.5
Text area border color change to pink
Use dojo 1.9.2 with BPM 8.5.0.1
Duplicate check
Retrieve all teams in a Process
Where to place the Email template file?
IBM BPM Coaches - Responsive UI

Categories

DW
Cloud management integ...
Spanish
Brazil
Lotus
COBOL Cafe
IBM CMIS for ECM
IBM OmniFind Enterpris...
IBM Kenexa Click and H...
IBM Kenexa CompAnalyst...
Security Access Manage...
Cloud security
Cloud DevOps
IBM SmartCloud Applica...
IBM TRIRIGA Applicatio...
Capital Project Manage...
Environmental and Ener...
Software Asset Management
Transportation Managem...
Integration Products
Cast Iron Studio
Cast Iron PIPs and TIPs
IBM SPSS Collaboration...
RDi - Rational Develop...
ERP
XML
Linux
Lotus
Сообщить о некорректно...
Rational DOORS DXL
Development Tools (RAD...
Real-time and Embedded...
Rational Synergy
Rational Asset Manager
Installing/Configuring...
db2
tivoli
Test for Aparna
Government
Web development
Ajax
Grid Computing
Power Architecture
MS Exchange Recovery t...
IBM I BRMS
For All Type Post
Công ty thiết kế website
IBM PureData-Enzee Com...
hrdf
Part 3 - Challenge #14...
IBM Business Process M...
IBM Monitoring and Dia...
WebSphere eXtreme Scale
CICS Transaction Serve...
Security Access Manage...
QRadar Extensions
DSM Extensions, Custom...
HA - High Availability
Documentation
Collaboration Network
Mapping / Translation
Connect:Enterprise
Applications Q & A
E-Commerce/EDI/XML Cou...
Connect:Express z/OS
Connect:Enterprise UNIX
Product Information Ma...
**Announcements & Ster...
C3 Analyzer Installation
C3 Analyzer Customization
SDK Tools & Utilities
Installation & Configu...
Receipts
Product Management
Usability
App Servers
RPG Cafe
IBM z Systems Developm...
HATS HotSpot
Questions and Best Pra...
Gantt charts
Java Visualization Pro...
DB2 Content Management
Netcool OMNIbus
IBM Tivoli Network Man...
IBM SCORE
iPhone
AIX Forum for developers
developerWorks XML zon...
Atom and RSS forum

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile