Policy Workflow Step 5

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 approval we obtained from the Installer to the Guardian to update the Policy Workflow State Object which we created with the approval document. This update is necessary to proceed with the steps in our Policy Action. To do this we again click on the β€œSend” icon in the top navigation bar to add another Policy Action step.

We now proceed as with the previous β€œSend” step β€œsave_new_approve_document” to configure the policy action step.

Programmatically this workflow step looks like this:

    // After the approval continue creating the document.
    // Update document status in the DB.
      "tag": "update_approve_document_status",
      "blockType": "sendToGuardianBlock",
      "dataType": "approve",
      "entityType": "Installer",
      "uiMetaData": {}

Last updated