on 05-24-2013 11:52 AM
Hi Experts,
We have an issue with BPM. We are working on WDJ, MDM(7.1 SP6) and BPM in CE7.2 Environment.
When requester initiates / triggers a BPM, the task goes to approver’s UWL. When approver clicks on the task from UWL, it opens in a new window. Sometimes, the approver opens the same task twice in two windows by clicking the task twice from UWL. We wrote some business logic (modification of records in MDM) before calling the event to complete task. When approver submits / clicks the button from the one of the window, that business logic is executed and it calls the task completion event and displays the message “Task has been successfully completed” and the task goes to next level of approver. Now, when the approver submits / clicks the same task which is opened in the other window, the same business logic which is executed earlier is executing again and when it reaches the task completion event it is displaying “Task is closed; it has already been completed or cancelled” message. Due to this, the business logic gets executed twice and we are facing data inconsistency issue in MDM because of that.
Is there any way by which we can restrict a user to open a BPM task from UWL in only one window?
Regards,
Kunal
no such thing
you have to write code to prevent that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Jun.
Not sure if we can write code to prevent this. As we are on CE 7.2 SP5, we don't have task APIs to check if task is still available i.e. not completed. As this can happen at any of the different steps in our BPM, we really can't write a piece of code to do some checks to prevent this. But i believe we should be able to handle it in NW 7.31.
Regards,
Kunal
Hi Jun,
I don't think i will be able to do so. We don't update the records based on a particular value or business level.
Also, i raised an OSS message for the same. SAP replied that they cannot restrict the UWL task to opened in one window at one time and the only way to handle this is either to upgrade to 7.31 and use task APIs or apply some restrictions at business level (as suggested by you as well). Since, we don't have any such restriction at business level and we don't have task APIs in CE7.2, i am marking the threas as closed.
Regards,
Kunal
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.