2

Currently I have the task of creating a process builder that creates a billing record.

On update/edit if [create billing statement] is checked then it runs.

  • action 1: create billing record
  • action 2: uncheck the [create billing statement] checkbox
  • action 3: update the related fee records to lookup to the new created billing record

When is it good or bad practice to have multiple actions in one process builder? What does this process builder fall under (good/bad practice)?

  • The only issue I see is if you're dealing with large numbers of records (i.e. this Create Billing Statement checkbox is marked on 200+ records all in one transaction). You can test this yourself and keep the developer console open to see the debug logs - there you'll see how much time is being spent in the PBs and if you hit any governor limits – Brian Miller Apr 23 at 19:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.