Skip to content

Conversation

@KnifMelti
Copy link
Contributor

Proposed Changes

$trigger.TriggerType doesn't actually exist, so ends up returning null
Changed to $trigger.CimClass.CimClassName

Related Issues

Closes #942

@KnifMelti
Copy link
Contributor Author

Haven't confirmed the function yet.
Asked @jamiehallghs about the correctness in #942

@KnifMelti
Copy link
Contributor Author

KnifMelti commented May 19, 2025

Tested and it works (but work did the other one too regarding the constant pushing forward - EDIT: NOT!)...

@KnifMelti KnifMelti marked this pull request as ready for review May 19, 2025 14:56
@KnifMelti
Copy link
Contributor Author

@jamiehallghs confirmed it all good!
And I tested with focus on the task registration change time - all good now!
...Anthropic Claude fooled me good with this $trigger.TriggerType 🤯🤪

@Romanitho Romanitho merged commit 530a0cd into Romanitho:main May 20, 2025
2 checks passed
@KnifMelti KnifMelti deleted the hotfix/CimClassName branch May 20, 2025 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: WAU-Policies schedule check issue

2 participants