Question about Action

(imported topic written by synxer91)

Hello everyone.

I am somewhat new to bigfix and I’m having some problems with an action for a task.

What I’m doing is this:

if {value of setting “Location by Subnet” of client as lowercase starts with “REGION1”}

delete “c:\Program Files\Software1\launch.exe.config”

copy “__Download\launch.exe-region1.config” “c:\Program Files\Software1\launch.exe.config”

The problem there is not all computers have software on their PC and don’t need that file created\copied to all of them.

Any Ideas?

I think I need like a nested if command?

(imported comment written by cstoneba)

you need an EndIf on a new line at the end

example:

if {a;d;}

action

endif

(imported comment written by synxer91)

Thank you much!

(imported comment written by SystemAdmin)

Shouldn’t it also be

value of setting “Location by Subnet” of client as lowercase starts with “region1”

and not

value of setting “Location by Subnet” of client as lowercase starts with “REGION1”

??