on 02-13-2018 2:27 PM
Hi,
I have a User Decision where user can App or Reject PO.
Now if workitem with user-A, and during execution of it, if user-B has opened the PO in edit mode, can I throw a message to user-A stating 'User B has locked the PO' and still the WF instance should be may be 'In Process' state rather than going into error or getting completed?
Can this be handled thru temporary error thing?
or any other approach (quick fix) 🙂 ?
Thanks,
Aditya V
I think sbl misunderstood the question, as I read it this is in the same dialog as the user decision.
Do you work with Satish by any chance? It's the same scenario he asked a few hours earlier.
I would use work item exits for this, just implement a before execution exit and try enqueue there. If it fails, pop up a message and stop execution. I can't remember whether it's raise an exception or set appropriate return code, but the work item exit is fairly well documented and there are examples in the system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mike,
no am not working with Satish. well yes, thats what I was looking where I can give a message or pop-up to user stating the PO is locked by user and still the workitem remains in his Inbox for further processing.
How do I keep the workitem 'in process' for the user?
So do you mean I use this in my Program exit, where I check if its locked and display a message? If yes can try that.
Is there a link or any hints to refer for?
Thanks,
Aditya V
As I said it's well documented, there's a description on the tab itself and if that's not enough there's also the online help.
Hi
Yes the temporary error is great when the document is locked.
The action will be resubmitted (by default) 3 times with a 20 minutes interval.
Cheers
Stephane
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Stephane,
thanks for quick response.
so now where do I use that method is a question.
My WF starts, it fetches all agents, then moves to UserDecision and based on App or Reject it moves further.
So now in this case I have created a method for BUS2012 with 'temporary error' but how can I use it in my UserDecision Step so that even if PO is locked by User-B, it will show a message to user stating User-B has locked it and still the workitem remains in his Inbox.
Thanks,
Aditya V
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.