Defines a scripting statement.
This helpful statement allows to handle JavaScript code that will be executed in the transaction scope. This JavaScript code is able to:
• initialize variables,
• perform complex calculations,
• access the context object to get useful properties such as contextID, httpSession, isCacheEnabled, lockPooledContext, etc.,
• use some context methods to manipulate the result XML DOM (only in the transaction XML Generated handler), encode and decode data, abort transaction, etc.
Property | Type | Category | Description |
---|---|---|---|
Comment | String | standard | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Expression | JS expression | standard | Defines the expression evaluated to give the statement value. This property is a JavaScript expression that is evaluated during the transaction execution and gives the statement’s result. |
Is active | boolean | standard | Defines whether the statement is active. |