Hello,

I have a condition in a workflow that works fine with OR logical operator:

flowdata.get('Start/EditUser/Requests') == "laptop"|| flowdata.get('Start/EditUser/Requests') == "mobile" || flowdata.get('Start/EditUser/Requests') == "vpn" || flowdata.get('Start/EditUser/Requests') =="line"|| flowdata.get('Start/EditUser/Requests') =="desktop"

Now, I want to add a logical AND to this OR operation, I tried the following, but none works.

The following is always "false":
((flowdata.get('Start/EditUser/AccessRequest') == "yes") && (flowdata.get('Start/EditUser/Requests') == "laptop"|| flowdata.get('Start/EditUser/Requests') == "mobile" || flowdata.get('Start/EditUser/Requests') == "vpn" || flowdata.get('Start/EditUser/Requests') =="line"|| flowdata.get('Start/EditUser/Requests') =="desktop"))

The following is always "true":
flowdata.get('Start/EditUser/Requests') == "laptop"|| flowdata.get('Start/EditUser/Requests') == "mobile" || flowdata.get('Start/EditUser/Requests') == "vpn" || flowdata.get('Start/EditUser/Requests') =="line"|| flowdata.get('Start/EditUser/Requests') =="desktop" && flowdata.get('Start/EditUser/AccessRequest') == "yes"

I'm not sure if there is a syntax problem or other problem in my worklfow.

Thanks for suggestions.

Sylvain