NextGen Knowledge Center

Channel Scripts

Channel Scripts can be configured on the Scripts Tab within the Edit Channel View. There are four special scripts associated with a channel:

  • Deploy Script: This runs once right before a channel is deployed.
  • Preprocessor Script: This runs once for every message, after the source connector sends a message to the channel and after the Attachment Handler Properties has optionally extracted data, but before the message has reached the source filter/transformer. The job of the preprocessor is to modify the incoming message.
  • Post Processor Script: This runs once for every message, after the source connector and all destinations have completed (excluding asynchronous processes like the destination queue), but before the source connector sends a response back to the originating system. The postprocessor script has access to responses from all executed destination, and can return custom response that the source connector can use.
  • Undeploy Script: This runs once right before a channel is undeployed.