Schema Flow
Policy Flow
Available Schema Types
FAQs
Multi - User Roles
Introduction
Starting with the Wikipedia definition, a Policy Workflow Engine (PWE) is a software application that manages business processes based on business rules and business data which are defined within the context of a specific policy. A PWE, therefore, manages and monitors the state of required policy actions and the required information flow in a policy grouped into a policy workflow, and determines which are the next policy actions based on the state of a policy workflow. The policy actions may be anything from saving an application form in a document management system to sending a reminder e-mail to users or escalating overdue items to management. Policy Workflow Blocks enable different business logic to exist within the Guardian’s PWE.

Available Policy Workflows Blocks

Block
Definition
Documentation Link
InterfaceContainerBlock
A block which contains and organizes other blocks.
PolicyRolesBlock
A block which determines a role for the user.
​PolicyRolesBlock​
InterfaceStepBlock
Similar to the InterfaceContainerBlock, with the difference that it can only render a single child element.
​InterfaceStepBlock​
requestVCDocumentBlock
A type of the block which creates a form from the schema, and sends the document to the server.
sendToGuardianBlock
A type of the block which can save a new or updated document.
reassigningBlock
A type of block which re-signs the document and change the user to document owner.
​reassigningBlock​
InformationBlock
A block type which can display a notification or a progress bar.
​InformationBlock​
InterfaceDocumentsSourceBlock
A block type which outputs information from the DB as grid.
paginationAddon
A block type which adds pagination to the InterfaceDocumentSourceBlock if added
​paginationAddon​
DocumentsSourceAddOn
A type of block for searching VC as grid
filtersAddOnBlock
A child block for 'DocumentsSourceAddon'. Contains additional dynamic filters
​filtersAddOnBlock​
InterfaceActionBlock
A block to create custom actions.
externalDataBlock
Receives data from the external source and passes them over the the next block.
​externalDataBlock​
retirementDocumentBlock
Receives the VC from the previous block and retires based on the rule(s).
wipeDocumentBlock
Makes a wipe of the token. Receives VC from the previous block. Passes a new VP to the next block.
​wipeDocumentBlock​
calculateContainerBlock & calculateMathAddonBlock
The blocks to calculate. calculateContainerBlock: Receives VC from the previous block. Passes the new VC to the next block. calculateMathOnBlock: Child block for 'calculateContainerBlock'. Contains descriptions of variables and formulas.
reportBlock
The block container for TrustChain.
reportItemBlock
The block for setting up the elements of the TrustChain.
Switch Block
This block transfers execution to one or more blocks depending on the parameters
​switchBlock​
timerBlock
timer object which triggers the event
​TimerBlock​
aggregateDocumentBlock
block responsible for aggregation of the documents
revokeBlock
This Block finds related messages in policy topics, and revokes those messages and sends it to Hedera topic, but it doesn’t save documents in DB
​revokeBlock​
setRelationshipsBlock
Contains DocumentSourceAddOn Block and set relationships for input document.
buttonBlock
Block responsible for creating buttons
​buttonBlock​
documentValidatorBlock
Block to validate documents, including linked documents
tokenActionBlock
Block is responsible to automation actions related to tokens
​tokenActionBlock​
tokenConfirmationBlock
Block enables the owner of the private key for the account to manually perform operations with the token
mintDocumentBlock
Block is responsible for adding configurations on calculating the amount of tokens to be minted.
​mintDocumentBlock​
groupManagerBlock
Block allows to manage group membership, add and remove users from the group.
​groupManagerBlock​
multiSignBlock
This block provides a way to specify multiple signators for a single VC document, and then create a VP based on it.
​groupManagerBlock​
​
​
​
Copy link
Edit on GitHub