πŸ”„Available Policy Workflow Blocks

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.

InterfaceStepBlock

Similar to the InterfaceContainerBlock, with the difference that it can only render a single child element.

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.

InformationBlock

A block type which can display a notification or a progress bar.

InterfaceDocumentsSourceBlock

A block type which outputs information from the DB as grid.

paginationAddon

A block type which adds pagination to the InterfaceDocumentSourceBlock if added

DocumentsSourceAddOn

A type of block for searching VC as grid

filtersAddOn

A child block for 'DocumentsSourceAddon'. Contains additional dynamic filters

InterfaceActionBlock

A block to create custom actions.

externalDataBlock

Receives data from the external source and passes them over the the next block.

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.

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

timerBlock

timer object which triggers the event

aggregateDocumentBlock

block responsible for aggregation of the documents

revocationBlock

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

setRelationshipsBlock

Contains DocumentSourceAddOn Block and set relationships for input document.

buttonBlock

Block responsible for creating buttons

documentValidatorBlock

Block to validate documents, including linked documents

tokenActionBlock

Block is responsible to automation actions related to tokens

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.

groupManagerBlock

Block allows to manage group membership, add and remove users from the group.

multiSignBlock

This block provides a way to specify multiple signators for a single VC document, and then create a VP based on it.

customLogicBlock

This block is used to perform Logic

splitBlock

This block allows to accumulate VC documents and produce new VCs in fixed chunks

wipeDocumentBlock

This block is used to wipe the Token

CreateTokenBlock

This block is used to create Token template

impactAddon

This is an addon to create token impacts

Http Request Block

This block is used to retrieve outside data

historyAddon

This block turn on history on interfaceDocumentsSourceBlock.

selectiveAttributes Block

This block will filter attributes (option field) in documents returned by documentsSourceAddon.

tagsManagerBlock

This block is responsible for managing tags in policies.

externalTopicBlock

This block allows to configure the link to Hedera topics established by other policy instances for monitoring of β€˜document published’ messages and ingestion of the targeted VC documents.

messagesReportBlock

This block allows to create report based on the inter-referenced messages.

notificationBlock

This block is used to generate notifications

extractDataBlock

This block extractDataBlock provides means to extract a data set which corresponds to any of these embedded schemas (at any depth level)

button block Addon

This block is used to display interactive buttons

Dropdown Block Addon

The block is to display an interactive dropdown menu

RequestVC Document Block Addon

This block is to display an interactive button in the interfaceDocumentsSourceBlock.

Last updated