Use the implementation extension point to create implementations and execute batch processing to update multiple records, which improves the performance of the system.

The Multiple Record Associator (MRA) component enables you to create implementation extension points for batch processing of multiple records.

To view the extension points that are available by default, navigate to All > System Extension Points  > Scripted Extension Points. You can select the Create implementation option to create an implementation extension point.

When you have multiple records to update, a business rule executes and updates once for each record, which can affect the performance of the system. Instead of executing the business rule for each record, you can use the RelatedListIncidentItemUpdateHandler script include to execute batch processing for updating multiple records.

You can use the RelatedListIncidentItemUpdateHandler script include to update multiple records with batch processing. For example, you could use this script include when associating and updating multiple child incidents with a parent incident.

The RelatedListIncidentItemUpdateHandler script include contains the global.RelatedListItemUpdateHandler implementation extension point and is used when batch processing multiple records on a related list.

The extension point used in the related_list_edit_helper script include uses API to facilitate invoking custom code. This extension point overrides the execution of the business rule to ensure that the implementation extension point is executed when updating multiple records instead of the business rule. You can also add a business rule that must be overridden. When multiple records are updated, this script include is triggered, and batch processing occurs that bypasses that business rule.

The RelatedListIncidentItemUpdateHandler script include contains the following functions:
  • Initialize – Executes before multiple records are updated.
  • Post update – Executes after multiple records are updated.

RelatedListIncidentItemUpdateHandler script includes