Comment on page
customLogicBlock
Block Property | Definition | Example Input | Status |
---|---|---|---|
tag | Unique name for the logic block. | multiSignBlock | |
permissions | Which entity has rights to interact at this part of the workflow. | NoRole | |
defaultActive | Shows whether this block is active at this time and whether it needs to be shown. | Checked or unchecked. | |
On errors | Called if the system error has occurs in the Block |
| |
Stop Propagation | End processing here, don't pass control to the next block. | Checked or unchecked. | |
Output Schema | Sending the logic output to this particular Schema | Report Employee schema | |
Document Signer | defines who will sign processed document.
Options:
1. Policy Owner
2. First Document Owner
3. First Document Issues | Policy Owner | |
Id Type | defines Id Type in credential subject of processed document.
Options:
1. DID (new DID)
2. UUID (new UUID)
3. Owner (Owner DID) | UUID (new UUID) | |
Note: Only this block supports artifacts for now.
This block supports two types of artifacts : JSON (.json) and Executable Code (.js).
JSON : will be added to the “artifacts” variable which is array in specific order (for example artifacts[0] is e_grid_mapping json object).
Executable Code : will be executed before main function.
Last modified 1mo ago