You need to sign in to do that
Don't have an account?
Laura Brewer
Help with Field Update Rule
I'm trying to write a rule that will update a field based on the following criteria:
Update a checkbox on Opportunity to TRUE when an Event of a certain Record Type is created.
I have an Event Record Type called "Demo". When a "Demo" is created and associated to an Opportunity, I want a checkbox on the corresponding Opportunity to update to TRUE.
Any thoughts.....?
Update a checkbox on Opportunity to TRUE when an Event of a certain Record Type is created.
I have an Event Record Type called "Demo". When a "Demo" is created and associated to an Opportunity, I want a checkbox on the corresponding Opportunity to update to TRUE.
Any thoughts.....?
But you'll probably just want to implement this field update with a small bit of Apex code. I'd start with a hook in the Event trigger's afterinsert(), and then just update the Opportunity you find via the new Event's WhatID (RelatedTo) field value.
One small nit. You say you want this on create, but if the Event can be created without a lookup to Opportunity, and the Opportunity reference can be added later, then you might also want to handly the potential null WhatID as well as the update condition in the Event trigger's afterupdate().