Whenever I edit a task that has a rule to create a google calendar event, the integration creates a new event for the same task instead of updating the event. I now have multiple duplicate events linked to one task.
One one project the rule is that whenever a task is moved into a particular section and the due date is set then it is assigned to a user and a calendar event is created. On another project the rule is that when a task is set to a specific priority then an event is created and a user is assigned to the task. Both these rules create duplicates whenever the task is edited.
Thanks for flagging this and I’m sorry to hear you run into trouble here!
Before escalating this issue further for our team to investigate, could you please be so kind as to provide a bit more of information regarding these questions below?:
San you please duplicate the project and attempt the recreate the issue through the new project?
Also, within the original project can you have another user firing the same rule? Is it successful?
Are you able to provide a screenshot of what the issue looks like from your end?
We are looking to see if the issue is with your account or the original project itself.
Apologies for the delay. I replicated the project myself and had a co-worker do so as well. In both cases we had the same issue where the google calendar integration would create a new event when the task was edited as opposed to updating the previous event. I am attaching copies of what those duplicates look like. Each duplicate was created after I edited the due date or assignee in Asana.
I connected with our team, and we believe this likely not a bug but due to some confusion on how events get created versus to keep updates in sync for existing events.
From what I understand, you want to reflect updates (edits in task) to the same calendar event. To achieve this, we recently launched a data sync feature for Gcal that can be used in conjunction with rules that create these events:
Events are created via the rule being triggered
The data sync setting allows updates to the Asana task, time, and description to be reflected in the linked event. See data sync setting here for more details: https://asana.com/guide/help/api/google-calendar
These two rules are set up such that new cal events are being created whenever a task moves to a section or a priority custom field changes. If this happens multiple times for the same task (ie; the priority custom field is toggled back and forth), then the rule will trigger each time and create new events with the same info.
We highly recommend trying the data sync setting for the edits that you hope to reflect into the linked event, and being careful with how you set up the rule trigger so that events are only created once per task.
If you continue running into trouble, please reach out to our support team (support@asana.com) and mention this thread so our team can take it from there