Multiple condition does not work
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?