After

If the business rule is run with the after option selected, the script runs immediately after the record is saved. We should use the after option if we are updating values not on the current record we are saving, but want the script to be run immediately.

This option is useful to update records associated with the record being saved, for example, to change tasks when updating a change. This is also a good option if we are scripting any sort of approval changes for the record being saved, as these will be displayed on the record after it is reloaded, after being saved.

If we are looking to update the current record, then it is better to use the before option. If you are thinking of using current.update() in your script, then think about using the before option instead.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.180.76