/n software Adapters for BizTalk

Questions / Feedback?

AfterSend Property

A set of commands to be executed after DataToSend is sent.

Data Type

String

Default Value

""

Remarks

AfterSend is a script that is executed immediately following the execution of DataToSend.

Each line in the script is treated as a single command.

Valid additional scripting commands are listed below:

sendex Data [Response]Sends Data to the server. If Response is not set, the adapter will wait for ExpectedResponse or ExpectedResponseExpression.
send DataSends Data to server and does not wait for a response.
wait ExpectedResponseWaits for a server response that includes ExpectedResponse. If no matching response is received within Timeout seconds an error occurs.
sleep TimeSleeps Time seconds.

Commands that include spaces should be surrounded with quotes. For instance:

exec "echo hello"
Quotes within a command do not need to be escaped. For instance:
exec "echo hello "world""
Will send:
echo hello "world"

The "\" character is the escape character. It is used with the special case of Cr and Lf characters. For instance:

exec "pwd\r\n"
Will send "pwd" followed by a CrLf sequence.

The "\" escape character is also used when specifying non-ASCII characters by passing Hex encoded values. For instance:

exec "\7F"
Will send the DEL control character.

Copyright (c) 2022 /n software inc. - All rights reserved.
/n software Adapters for BizTalk - Version 20.0 [Build 8319]