You need to sign in to do that
Don't have an account?
Issue with trigger on Event object.
Hi,
1. I am having a trigger on Event object. The trigger is written in such a way that there can be no two Events or Meetings for the same user at same time. This works fine when we deal with normal events however when we try to create a recurring event, I get an error saying "Changes made to the series will affect all occurrences on or after mm/dd/yyyy."
Does any body know what can be the issue behind this?
Due to above error I have temporarily disabled Recurring Tasks and Events in my org.
2. Also I am trying to write the test coverage for this, the logic for avoiding duplicate events gets covered properly. jowever, I am unable to cover the code which was written to avoid duplicate Meetings. I am distinguishing between Events and Meetings by the "GroupEventType" field on the event object.
Please let me know if there is a way by which i can cover that code.
Thanks,
Shailesh. P. Deshpande
Post in some code, so that we can see what the issue is.
Its very difficult to help without code specially in test classes
I am still looking into u r issue
but what i fell is that as u r creating Recurring Tasks and Events & all the Recurring Tasks and Events are created in a flow & all are inderdepandent so if one event or task have error it effect all other
also just deactive u r trigger & on the Recurring Tasks and Events & then test it is working fine