cancel
Showing results for 
Search instead for 
Did you mean: 

problem in precondition loop- bug in GP?

kiran_jakkaraju
Contributor
0 Kudos

i am assigning a single screen for diff users in preconditional loop block , when user1 opens and submit the screen, user1 itself getting next screen , even user2 able to see the same screen and user2 getting message that this screen is already opened and accessedby user1.

how can i restrict the action to be shown to only one user.

is this a bug in GP?

Error:The following action has been opened by another 1 user(s). The last access time is: Tuesday, June 30, 2009 5:40:00 AM"

More clear :

Action 1 - assigned to User1

Action 2 - assigned to User2

When User1 accessed Action1 and submits, the Action2 will trigger and User2 should get that Action2 assigned.

but when User1 submit the action1, same user1 gets the Action2 also Action2 assigned to User2 too..

How can we restrict it..

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kiran,

Well "The following action has been opened by another 1 user(s). The last access time is: Tuesday, June 30, 2009 5:40:00 AM" i believe is a warning and not error and so lets other users to access the same action, although it is already being used by one.

It is a default configuration in GP and i am not sure how to change it to error and not let other users to access the same action at the same time.

But, I have an idea. If in the database you can maintain status of the process, then you can change the status to "In Progress" when the first user logs in and make it "Closed" only after he quits in between (calling in wdDoExit() of component controller) or the completing the particular action. Therefore, when the other user tries to access the same action, first check with the status in database, that for the process if the status is "Closed" then allow else in case of "In Progress", display your custom screen/message stating the action is locked by other user or whatever suits you and block the navigation for any action over that callable object.

Hope your issue is addressed well.

Regards,

Tushar Sinha