Skip to content

Value is required in portal task submission even though it is marked as not required in the template #23

@rmendiza

Description

@rmendiza

In our templates, we have set the following values to not required. However, they are failing when not included in the portal request.
image
File: https://github.com/Azure/automation-task-template/blob/master/templates/stop-postgresql-flexible-server.json

"Notify": {
                "type": "Bool",
                "metadata":  {
                    "displayName": "Notify Me",
                    "description": "Notify me about task status",
                    "format": "notifier",
                    "required": false
                }
            },
            "EmailID": {
                "defaultValue": "user@microsoft.com",
                "type": "String",
                "metadata": {
                    "displayName": "Enter email",
                    "description": "Notification to be sent to email",
                    "required": false
                }
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions