on 01-08-2008 6:44 PM
Hi Experts,
Please let if there is any possiblity or funtion module to excute a workitem with user decision in background. We are in need to default a decision after a deadline is reached, for which we are trying to execute worktiem in background.
Thanks in advance.
Regards,
Viven
Hi,
Do some searches with SE37, and try to find for a function modules for this purpose. I think that there is at least this one, which you could use: SAP_WAPI_WORKITEM_COMPLETE
But in general I do not understand the requirement: Why don't you use the normal deadline functionalitites of the workflow builder? If the user has not done his job within the given deadline, the work item can be set to complete and the workflow can continue...
Regards,
Karri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
This may not be the only solution but think it should work.
1. Assign a terminating event to the step you want to have a deadline monitor ( The approval step ?? ).
Create this event new in your business object and make sure it is not triggered from any other place.
2. In the Deadline modeled path which you already set for two days - trigger the event you assigned in step 2.
So the approval step, when past two days will execute the deadline path and triggers the event which in turn would complete the approval step.
Hope it helps.
Uday
Uday's proposal is helpful. You can also make the approval decision step as Obsolete by activating the Processing Obsolete outcome and then setting a container element that gets set only you approve the request. This means if someone approves bu decision task this Container element should be set with a value that is equal to the value that is getting set by the container operation at deadline.
Thanks
Arghadip
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.