iScript Considerations - iScript Considerations - Perceptive Content - External Messaging Agent - Perceptive-Content/External-Messaging-Agent/Foundation-26.1/External-Messaging-Agent-Advanced-Design-and-Setup-Guide/How-External-Messaging-Agent-Works/iScript-Considerations - Foundation 26.1 - Foundation 26.1

External Messaging Agent Advanced Design and Setup Guide

Platform
Perceptive Content
Product
External Messaging Agent
Release
Foundation 26.1
License
ft:lastPublication
2026-04-16T22:23:37.866033
ft:locale
en-US

When creating custom scripts for External Messaging Agent, consider the following points:

  • The Windows user running External Messaging Agent runs the iScript, which must be stored in [drive:]\inserver\script.
  • The iScript function, getInputPairs()returns a object (or an associated array/hash) with the namevalue pairs of the data in the IN_EXTERN_MSG_PROP table as well as the data in the IN_EXTERN_MSG row.
  • If the script calls setSuccess(false), then the script failed to process the message. You can create a scheduled task or SQL script to set the msg_status from 4 to 1 to initiate a retry.