Policy Workflow Step 2
Last updated
Last updated
Next, we add specific Actions by clicking on the โRequestโ button on the top navigation bar.
This creates a new Action Workflow Block with additional fields we can use to define a specific request action.
First, we give this new action the name we want.
We then set the โDefault Activeโ and add โInstallerโ as permission.
As a next step, we set the โSchemaโ field through a drop-down based on pre-configured schemas for the document relevant for this policy action request โ in our case we select โIRec-Application-Detailsโ as the required data schema for the request.
Note - the creation of schemas is a prerequisite to policy creation.
We then set the Id Type using the drop-down, and select โOwnerโ as the type of identifier used within the Policy Action. This option selects the DID of the document owner as the identifier utilized as the subject in the verifiable credential that is created from this document
Next, we select the โTypeโ drop-down in the UI box and select โPAGEโ indicating that the UI used for this request will be a full UI window. This will open up the Title and Description fields which we will fill in next.
Programmatically this workflow step looks like this: