The Script adapter executes Perl and Jython scripts. You can specify the initial values of variables in a script, and you can retrieve the values on execution. The Script adapter supports concurrent execution of scripts. This adapter does not support multiple configuration nodes, but you can configure multiple Script adapters within Grid Manager, each with a unique configuration node and an adapter name. For configuration instructions and to execute ActivePerl scripts in a Windows environment using a Script adapter, see Using ActivePerl scripts in a Windows environment.
The Script adapter supports the Character set feature of base adapters. For base adapters feature details, see Base adapter features.
Note
The information provided in this section applies to the use of the Script adapter in a Call Adapter activity in BMC Atrium Orchestrator Development Studio. See Script activity for details on using the Script activity.
Note
Starting with the 20.12.02 release, the Script adapter can also execute a request when the adapter is enabled on a peer that is compliant with the Internet Protocol version 6 (IPv6).
The Script adapter supports three basic data structures, scalar (single values), lists (arrays), and maps (hashes).
<var1>test</var1>
in the adapter request and response.<var2 type="array"> <value>one</value> <value>two</value> </var2>
<var3 type="map"> <value key="one">1</value> <value key="two">2</value> </var3>