Defines a scripting step.

This helpful step allows to handle JavaScript code that will be executed in the sequence 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, encode and decode data, abort sequence, 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 step value.
This property is a JavaScript expression that is evaluated during the sequence execution and gives the step’s result.
Is active boolean standard Defines whether the step is active.
Output boolean expert Defines whether the XML generated by this step should be appended to the resulting XML.
Set this property to true to add the step’s resulting XML to the sequence’s output XML (default value for steps generating XML). Set this property to false to prevent the steps’s XML result to appear in the sequence’s output XML.
Setting this property to false does not prevent the step’s generated XML from being used as a source by other steps.