Forum Discussion
PowerShellUser123
Apr 07, 2022Copper Contributor
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