Testing the Function Using Our Workflow Rule

  • Now, make a change in the Contact record that would trigger the workflow rule you set up, i.e. update one of the address fields
  • You can check the Accounts record itself to see if it was updated
  • Or, you can check the timeline in the Contact record view and see that the last action to occur is that “our_function” was called and executed
  • Congratulations and writing a function and associating it to a workflow rule!