On event updated#280
Open
shewfig wants to merge 2 commits into
Open
Conversation
Owner
|
First off - thanks for the PR, but I doubt it'll be merged in. But, can you explain this a bit more? This is the first time I've ever seen this trigger. But is the intention to run the |
Author
|
Exactly. The trigger fires from the gCal side when the upstream calendar is
changed, which means the downstream gets updates quicker.
No worries if you don't merge. I sent the PR as a courtesy to let you know
that I appreciate what you've built, and to let you know that there's
additional functionality supported in case you want to revisit your code -
but I also realize that most of us create automation with the hope that we
will never again have to think about it.
With update latency handled by the push trigger, I also added logic in my
deployment to widen the time-based trigger frequency up to 12hr. Periodic
polling is still a good idea in case the push trigger doesn't fire, but
every few hours is (IMHO) more than sufficient as a redundant sweep.
Unfortunately the update trigger doesn't carry specific info: it is only a
notification that a change happened somewhere, but that makes it perfect to
replace a periodic poll.
Interestingly, MS O365 does a much more thorough job of triggers with their
Power Automate service, but the trade-off is that their only UI is a
click/drag "no-code" web IDE, both for editing and for logging.
Cheers,
-Jim
…On Sun, Aug 7, 2022, 21:48 Derek Antrican ***@***.***> wrote:
First off - thanks for the PR, but I doubt it'll be merged in.
But, can you explain this a bit more? This is the first time I've ever
seen this trigger. But is the intention to run the startSync function
every time the Google Calendar is updated?
—
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHFZWUXQWFCOK5CDXHUNSDVYCGTJANCNFSM53U526NA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Owner
|
Ah, so it sounds like you're using the script to update |
|
@shewfig - MS Power Automate also sometimes (like most sync services) goes crazy and creates thousands of duplicates of a bunch of events. I haven't seen any cloud based sync service wihtout such glitches. It's painful to clean up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small addition to add support for Google Calendar "onEventUpdated" push triggers