unlocked By Artifact Matching
Unlock when any artifact matches the given predicate.
Example:
.withTool(processTool).unlockedByArtifactMatching(a -> a instanceof Document && ((Document) a).isValid())Content copied to clipboard