I'm creating a custom package to distribute one file.
In terms of rules;
- I want the package to deploy if either the file doesn't exist or is the wrong modified date.
- I want the package to know its installed if it can find the file and the modified date is what's expected.
So here's my Applicability Rule.
NB: The 2 different dates. The Modified Date in the Editor is Different to the displayed Rule Date. It is the UTC conversion of the displayed date which is the correct date for my region.
Also note the Rule Editor shows and saves a Modified Date but the display of Applicability Rules once set and saved shows a Creation Date setting a Modified rule.
Here's the Installed Rule.
NB: The 2 different dates. The Modified Date in the Editor is correct modified date but the displayed Rule Date is incorrect. It's assuming the date is a UTC and displaying the region converted date.
The behaviour is not consistent between the two rule sets. I can't tell which date is the actual date that's going to be compared.
The fact that one of the rules may be comparing the Creation date instead of the Modified date is also confusing.
Can someone please take a look at this and see if this experince is consistant within your own environment.