Stores an object identified by a key in the context.
Context Set statement stores an object in the context identified by a key.
This object can be retrieved later identified by its key thanks to Context Get statement.
Note: The action is similar to a Simple statement with the following line of code:
context.set("key", object).
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 object to set. This property is a JavaScript expression that is evaluated during the transaction execution and gives the object to set. Expression property is similar to the second parameter of context.set JavaScript method. |
Is active | boolean | standard | Defines whether the statement is active. |
Key | String | standard | Defines the key to identify the object to be set. Key property is similar to the first parameter of context.set JavaScript method. |