Policy Workflow Step 6

Next, we want to add another step to our policy action. To do this we again go back to the Policy Action itself by clicking on the ā€œinit_installer_stepsā€ Policy Action icon on the left.

Again we need a Send step since we need to send the updated approval document as a W3C Verifiable Credential from the Guardian to Hedera for further processing. To do this we again click on the ā€œSendā€ icon in the top navigation bar to add another Policy Action step.

We now proceed in the same way as with the ā€œSendā€ step from ā€œsave_new_approve_documentā€ to configure this policy action step.

Note that the data type must be ā€œHederaā€ since the document is to be sent as a verifiable credential for permanent storage to Hedera.

Programmatically this workflow step looks like this: