Hi there,

i want to ask:

suppose i have a bpt and there are two instances.

In an activity there is and advance query to delete a record.

As i know at then end of an activity there is a commit.

My question is: is it guaranteed that the commit is done right after the delete, or can the execution move to other thread (bpt) before the commit? - if the second BPT (activity) do the same delete, it will be locked wait -.

regards and thanks

Solution

Hi,

1.you can use activity close action available in system, to close the activity after deleting the record.



2.you can check it whether the commit is done or not by using onclose of the activity. if its done move to next activity. if not raise exception of your choice.



Thanks & Regards,

Wasim khan S


Solution