0 votes
1.9k views
in Interview Questions by (21.6k points)

2 Answers

0 votes
by (540 points)
 
Best answer

The idea being that you have a process variable which once created, you can pass its UID to another task or process and they can load it from the BPM DB and read the latest state of the business object.

You pass the UID of the object between a process and a service. In general, BOs are passed by value which is not recommended for bigger objects. Here, we can workaround this rule and pass the reference, single string (the UID of the BO) and then load it in the service when needed. This is particularly useful for human services, which can take the latest state of the variable instead of getting the state at the time of assignment of the task.

parallel tasks, loop and any other multitasking functionality that needs to know about the result from another task. Suppose that one approver would like to see the result of anothers approver if they approved the second task before they did.

This approach has better alternatives in services caching and Dynacache solutions. On the other hand, it is easier to implement than Dynacache and more powerful than service cache.

0 votes
by (21.6k points)


 

implementation details located at, http://www.ibm.com/support/knowledgecenter/en/SSFTN5_8.5.7/com.ibm.wbpm.wle.editor.doc/topics/r_sharedbusobjects.html

can also be leveraged for optimistic locking since versioning of data happens.

Related questions

0 votes
1 answer 1.5k views
0 votes
1 answer 1.3k views
0 votes
1 answer 1.9k views
0 votes
1 answer 623 views
0 votes
1 answer 2.5k views
0 votes
1 answer 842 views
+1 vote
1 answer 1.5k views
0 votes
0 answers 428 views
0 votes
0 answers 402 views
0 votes
0 answers 680 views
asked May 15, 2019 in BPD by vsrpaaps (120 points)
0 votes
2 answers 2.3k views
asked May 28, 2018 in BPD by anonymous
0 votes
1 answer 1.1k views
0 votes
0 answers 251 views
0 votes
0 answers 812 views

635 questions

495 answers

98 comments

3.0k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...