My Worklet shows that there is a pending update
You have a worklet that is showing that there is a pending update, even if it's already been executed. Examples like this are worklets that make registry changes, for example:
(The clock represents a pending update, whether it's scheduled or not)
In this example, the customer had an "exit 1" value in the Evaluation Code. When Automox checks for updates (when it comes to worklets), it uses the Evaluation Code to determine the Scheduled Policy's status (compliant, non-compliant, and pending). Since the Evaluation Code contains "exit 1", this indicates (to Automox) that the device needs remediation!
But, this might not be the case with some users, as they already ran the remediation code and the registry changes have already taken effect. In order to remedy something like this, we usually create an "if else" statement in order to check the device for the registry changes (if they exist or not). A sample would be something like this:
if (test-path "C:\Windows\Logs\RegistrySSLTLSc.txt")
Of course, you do not have to adhere to this, but if you would like the "pending update" to go away, then we recommend putting an "if-else" statement in the Evaluation Code.