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!

1
  • 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. Jan 9, 2019 at 15:44

1 Answer 1

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).

1
  • 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, 2019 at 9:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .