How can I filter workitems in RPE based on more than one approval's title?
Hello, I am using CLM 6.0.6.
The subset of workitems I want: Workitems with EITHER (approval descriptor name "Title1" and cumulative state name "Rejected") OR (approval descriptor name "Title 2" and cumulative state name "Rejected")
Can anyone tell me what needs to change in my template/filter to apply this logic correctly? Any help is appreciated.
Accepted answer
Comments
Prasad,
One other answer
Same questions for the variables cumulativeStateName and ApprovalState ?
Maybe try debugging it with hardwired strings before using the variables.
Also you don't need to repeat the cumulativeStateName = ApprovalState twice. You can just apply that condition once to make the expression simpler to debug, like this:-
cumulativeStateName == "Rejected" && (name == "Title1" || name == "Title2")