Skip to main content
HI, I would like to have a field - 'Holidays used' on user record or contact record which is automatically updated when a user adds holiday event to SFDC. I couldnt get that with workflow rules, can someone help me with an apex trigger ? 

 

All I want is, If I add an event with type - 'holiday/vacation' for 1 day, the field 'Holidays used' to show me 1 day & if I add another holiday event for 2 days, the field should be updated & show me the total.i.e 3 days
2 Antworten
  1. 12. Jan. 2015, 10:46
    Hello Usha,

     

    I don't think you need Apex trigger here, let me introduce you to Flow with Flow Triggers or Process Builder (replacement for old workflow eventually). You need to make a request to Salesforce to enable Process Builder in org, then you will be good to go. But l

     

     
0/9000