on 10-14-2008 11:17 AM
Hi,
I took a copy of the standard Leave request workflow (WS12300111) to a new workflow (WS90000002).
The class that was used in this workflow (CL_PT_REQ_WF_ATTRIBS) was also replaced with a copy (ZHR_CL_PT_REQ_WF_ATTRIBS).
The workflow is used for the approval of leave requests.
Now in the workflow there is a multiple condition which verifies whether the request was approved, rejected or withdrawn (this was also there in the standard).
The condition contains the rules:
Approved &REQ.STATUS& = POSTED or &REQ.STATUS& = APPROVED or &REQ.STATUS& = ERROR
Withdrawn &REQ.STATUS& = WITHDRAWN
Other values Rejected
--> REQ is an object of the class mentioned above. The rules were created in the normal way by clicking on the object in the container.
The workflow always stops at this condition, because it can not define the value of REQ.
If I check the container in the workflow report, the field REQ and its STATUS are correctly filled.
What could be wrong here?
Thanks,
Wim
Hi,
I solved it...
Just had to add a commit work to the task that is executing the status change of the request.
Kr,
Wim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.