You need to sign in to do that
Don't have an account?
Mdex Centre-Ville
Start trigger (Update field) After and not before is possible ?
Hi,
I have a question for you.
I have a little difficulty with execution action order. I would like that when I create an event on google calendar, the trigger automaticcally create a title for this event.
The problem here is that plugin, like Groove or Cirrus, use two different way to send data. I know nothing about that but I can guess what happen.
So, Custom field from the plugin are sent first
My trigger try to use NameId, and 3 custom field to create the title
The plugin send data from google calendar (With the invitee email adress that will find the Name ID)
So, at the end, My title is made but only with the custom field content, The name is missing because this information arrived from google after the trigger.
My question is that if it's possible to make the trigger start after that the WhoId is addes to the event. For now, my trigger has "before insert" and "before update" the solution should be to put after insert and after update but .. apparently, for field update action it's only possible to put before.
So my question is just if it's possible to ask to the trigger to do is action after that the WhoID arrived.
thx a lot for your help.
I have a question for you.
I have a little difficulty with execution action order. I would like that when I create an event on google calendar, the trigger automaticcally create a title for this event.
The problem here is that plugin, like Groove or Cirrus, use two different way to send data. I know nothing about that but I can guess what happen.
So, Custom field from the plugin are sent first
My trigger try to use NameId, and 3 custom field to create the title
The plugin send data from google calendar (With the invitee email adress that will find the Name ID)
So, at the end, My title is made but only with the custom field content, The name is missing because this information arrived from google after the trigger.
My question is that if it's possible to make the trigger start after that the WhoId is addes to the event. For now, my trigger has "before insert" and "before update" the solution should be to put after insert and after update but .. apparently, for field update action it's only possible to put before.
So my question is just if it's possible to ask to the trigger to do is action after that the WhoID arrived.
thx a lot for your help.
Hi,
I am not sure whether it will 100% will work on not but you can try following thing.
1. Create a dummy field on Task
2. Create a workflow rule.
3. set criteria Whoid!=null
4. Update dummy field and check Re-evaluate Workflow Rules after Field Change checkbox
Thanks,
Himanshu
Salesforce Certified Developer | Administrator | Service Cloud Consultant
P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.
Thx. but actually it's not working. all actions happen before google send WhoId Informations. I'm very surprised about that. the only way is if, after, I update my appointment on google cal. In this case, everything is working well because the WhoID is already here. It's like when google send data the first time it's not counted as update and no re-evaluation is made