cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple condition does not work

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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