Forum Discussion

PowerShellUser123's avatar
PowerShellUser123
Copper Contributor
Apr 07, 2022

Azure DevOps custom task visible rule

Hello I'm trying to set a visible rule for some of the inputs and I was wondering if we can use && and || together.

 

"visibleRule":"Resource = AAA && Command = Delete || Resource = BBB && Command = Delete"

"visibleRule":"(Resource = AAA && Command = Delete) || (Resource = BBB && Command = Delete")

 

can't quiet get this to work, I tried different combinations but no luck. It seems like only the first part of the rule is applied.

No RepliesBe the first to reply

Resources