Simple Action script to change a custom property

We have a custom property that was created to segregate a few servers that require manual Security Update patching (something we’ve been fighting to eliminate without success so far). Editing the property manually by editing the Computer Settings is easy of course, but I’ve been wanting to work on a method of doing this through action script because we generally have to edit this property late at night to ensure that any relevant Updates the server hasn’t received don’t hit it during business hours, and it would be easier for us to have a Fixlet for this that we can schedule.

What I have so far is this, based upon some other posts I’ve found similar to this topic:

setting "NoPatch"="YES" for client

However, this doesn’t seem to work, and I’m not exactly certain why. In another post, there was a reference to including the date, as such:

setting "NoPatch"="YES" on "Thu, 15 Mar 2018 10:15:00 +0000" for client

I did get the fixlet to work when I set the date, but I really don’t need any reference to the date when this change occurred. Is it possible to make this work without a date segment in the action script?

setting "NoPatch"="YES" on "{now}" for client

The tasks in the BES Support are a good reference. Try

setting "NoPatch"="YES" on "{parameter "action issue date" of action}" for client

On {now} is useful in some situations, but does carry some risk. Actions on the client are not necessarily executed in the order they were created, so if you go through multiple actions to enable/disable the setting, you may not end up with the intended value.

Thanks a lot - those worked. Appreciate the help!