Inbound and Push post processing activities

The function below retrieves comments of an Incident record from Service Anywhere and insert these comments into the activity log in Service Manager right after the Incident record is exchanged.

Out-of-box function:

CaseExchange_SAW_PostProcessing.postInbound

The function has the following parameters:

  • mapObj: Final Service Manager value object after field mapping and value mapping.
  • sm: Temporary Service Manager value object after copying basic data from end point according to field mapping.
  • ep: Original value object from the end point.
  • context: Context of the SMIS task. You can get a specific value by using the context['internalId'] syntax.
  • param: All parameters defined in SMIS configuration. You can get a specific parameter value by using the param['object'] syntax.

For more information about these parameters, see Placeholder objects.

The function returns the following result:

N/A