Hello,
Is there a way to do further relevance check(s) in an action script? If so, what is the accepted format?
I could look at creating separate tasks with dedicated relevance but I am looking to create one task to cover all.
Thanks
within action script, any code within curly brackets { } is evaluated as relevance language. This is called Relevance Substitution - https://developer.bigfix.com/action-script/guide/substitution.html
So you can do things like:
in actionscript:
continue if {exists file "c:\temp\blah.txt"} if {name of operating system as lowercase contains "win"} do something endif
Thank you.
If I wanted to add multiple tasks, I assume this would use the elseif until the end where it would close with else and endif?
correct. See https://developer.bigfix.com/action-script/reference/flow-control/if-elseif-else-endif.html