What is the proper syntax for a condition involving one or more selections of a checkbox field? We have for example 'Affected Areas' with choices like, Application, Database, Network, etc. The syntax:
cfValues['Affected Area'] == 'Database'
Doesn't work.
Regards,
Bryan
Ok, after some significant digging on the Internet I found a solution for check boxes that works:
cfValues['Affected Area']*.value.contains("Database")
Thanks much Jamie!!!!
that's the same as my example...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
'Database' in cfValues['Affected Area']*.value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you ever tried Power assertion in _Simple script condition_ interface? https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-PowerAssertions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.