...
There are myVault methods which you can call in js-code:
Description | Workflow level | Account level |
---|---|---|
Writes key and value into myVault dictionary | ||
Writes key and value into myVault dictionary on the workflow complete event | ||
Reads value from myVault dictionary by specified key | ||
Removes key-value pair from myVault dictionary by specified key | ||
Determines whether the myVault dictionary contains the specified key |
myVault.set
Writes key and value into myVault dictionary belonged to the workflow.
...
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
session is stored for each workflow running. session is empty when new run is started (from first block) and is passed to next blocks till last. If you start running not from 1st block, for example from 3nd block, then session will be copied from 2nd block of previous running.
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 event.
...