0

We installed the Heda in our org.

Every time we create a Program Enrollment - an affiliate account is related.

Since I don't have access to the managed trigger - If I want to change some fields inside the affiliation - before it created - Where should I do it?

I tried to do it via the HEDA Settings - But I don't sure it the right place.

Thanks!

  • BTW - the best support resource for the Higher Education Data Architecture package (HEDA) is the Salesforce Foundation's Power of Us Hub. The Foundation maintains both HEDA and the Nonprofit Success Pack. – David Cheng Jan 9 at 15:44
2

With all managed packages, even if you don't have access to the trigger, you can still write your own trigger for the specified object.

You can control "when" the record is updated by making sure to specify which trigger (before update, before insert, etc...). That being said, there's no way to control if your trigger is fired first of if their trigger is fired first so you will want to be conscious of this in the event that it doesn't work exactly as you envisioned it.

I would also advise familiarizing yourself with the order of execution of triggers. You might be able to achieve your goal via a PB or Workflow which could also change the order in which the tasks execute (notice in the article how it mentions that updates via wf or PB fire the trigger a second time).

  • Thanks! I know I can create another trigger but It's not the best practice to do so, because I won't be able to control which trigger will run first. But I did it with process builder that updating the record that created by Heda Trigger as you suggest. Thanks! – Salvation Jan 10 at 9:49

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.