...
Writes key and value into myVault dictionary belonged to the workflow.
This method differs from myVault.set method in “saving into myVault is deferred” condition and will be executed on workflow complete event.
...
Please also see session.vault by this link
Please see conditionas for “Workflow complete“ by this link
...
Writes key and value into Global myVault dictionary belonged to the account.
This method differs from myVault.setGlobal method in “saving into Global myVault is deferred” condition and will be executed on workflow complete event.
...
Please also see session.vaultGlobal by this link
Please see conditionas for “Workflow complete“ by this link
...
Datasource is an array of block responses, which dependency is set for the block
Expand | ||||
---|---|---|---|---|
| ||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
\uD83D\uDCCB Related articles
...
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
session.vault
session.vault is an object of keys-value pairs which was set by myVault.setOnComplete() method and which will be moved into myVault on workflow complete.
Expand | ||||
---|---|---|---|---|
| ||||
|
Expand | |||
---|---|---|---|
| |||
|
Note |
---|
Please note that overriding of session.vault is forbidden. For example, you will not be able to set following:
|
...
session.vaultGlobal is an object of keys-value pairs which was set by myVault.setGlobalOnComplete() method and which will be moved into Global myVault on workflow complete.
Expand | ||||
---|---|---|---|---|
| ||||
|
Expand | |||
---|---|---|---|
| |||
|
Note |
---|
Please note that overriding of session.vaultGlobal is forbidden. For example, you will not be able to set following:
|
...
session.vars is an object which Canvas provides for keeping of global variables in workflow context, which are not included into block responses.
Expand | ||||
---|---|---|---|---|
| ||||
|
Note |
---|
Please note that overriding of session.vars is forbidden. For example, you will not be able to set following:
|
...
Canvas provides just 1 method which can be used in block JS-code, it is getVariables().
getVariables()
Returns array of block variables. No parameters.
...