Prompting for yes/no answers

(imported topic written by SystemAdmin)

For some fixlets and tesks that reboot systems, I would like to add a prompt

"This Fixlet/Task will reboot the endpoints selected, do you want to proceed? with a defailt of NO, user would have to enter YES.

Then what would I have to place ito the action script before “restart 15” to check that the answer is YES, else exit

(imported comment written by SystemAdmin)

Do you want it as part of the action creation or to display on end points (ie PCs)? The first option I have no clue. The second look at the post action tab when you are starting your job.

(imported comment written by SystemAdmin)

No, not there.

I mean the use of this syntax:

action parameter query “”

and

[with default

Then cheking parameter name for the value of “YES” before running “restart 15”

(imported comment written by SystemAdmin)

How about:-

action parameter query “REBOOT_YES-NO” with description “This Fixlet/Task will reboot the endpoints selected, do you want to proceed? (YES / NO)” with default value “NO”

(imported comment written by SystemAdmin)

Ok, so then is this what I would put in my action script?

action parameter query “REBOOT_YES-NO” with description "This Fixlet/Task will reboot the endpoints selected, do

you want to proceed? (YES / NO)" with default value “NO”

continue if {parameter “REBOOT_YES-NO” = “YES” }

restart 15

Anotehr question… If this fixlet was a put in a baseline, would I get prompted when the first endpoint reaches this fixlet in the list or would I get prompted for each and evey endpoint?