# Policy Workflow Step 13

Since this is a cyclic step, we need to add the requirements as sub-steps to be completed in each cycle, and an exit condition.

We add the first sub-step by clicking on the “Request” button in the top navigation bar.

Again we add a tag, set the permissions, make this step active by default since it is required, select the schema type of the document – inverter in this case since we are adding an inverter sensor, and select the Id Type, since sensors are given DIDs, we select DID.

Next, we select the UI as a “Dialog” as we have done before from the drop-down. We then add content and title.

<figure><img src="/files/0i0BoGSLzWlwsQfP6cIN" alt=""><figcaption></figcaption></figure>

**Programmatically this workflow step looks like this:**

```
              "children": [
                // Button to create new sensor.
                {
                  "tag": "add_sensor_bnt",
                  "defaultActive": true,
                  "permissions": [
                    "INSTALLER"
                  ],
                  "blockType": "requestVCDocumentBlock",
                  "schema": "9d31b4ee-2280-43ee-81e7-b225ee208802",
                  // Generate new DID for the new sensor.
                  "idType": "DID",
                  "uiMetaData": {
                    // Open the a dialog containing the new sensor.
                    "type": "dialog",
                    // Text on the button.
                    "content": "New Sensors",
                    //Button style.
                    "uiClass": "btn",
                    //Dialog title.
                    "dialogContent": "New Sensors",
                    //Description.
                    "description": "Description",
                    //Dialog style.
                    "dialogClass": ""
                  }
                },
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.guardianservice.io/technical-information/users/standard-registry-users-schemas-and-policies/policies/creating-a-policy-using-policy-configurator/policy-workflow-step-13.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
