Azure DevOps custom task visible rule

New Contributor

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.

0 Replies