Loads the interaction context for a specified notification into a transient cache; this method does not generate an audit message.
This method was added in xMatters 4.0 patch 009 to address an issue where a User's notification status could be reported on the wrong exhaustive report for simultaneous events that reached voicemail. This method ensures that the initial reporting for the call progress is always recorded against the event that initiated the callout.
@interaction::preloadInteractionContext(long notificationId)
(Long) notificationId: identifier of the notification for which you want to preload the context.
None
The following code illustrates how to use the preloadInteractionContext method within the callout script:
@script::log("NotificationId = " & $notId & ".")
@interaction::preloadInteractionContext($notId)
@initiatingEvent = @interaction::getInitiatingEvent()