vRO action executed with non-admin users returns error: "Cannot execute external actions due to validation errors [Action cannot be executed for the user]"
search cancel

vRO action executed with non-admin users returns error: "Cannot execute external actions due to validation errors [Action cannot be executed for the user]"

book

Article ID: 345939

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

The user receives the error "Cannot execute external actions due to validation errors [Action cannot be executed for the user]"  when a vRo action is executed as an non admin user. 


The Custom form in question has all below objects: 

  • Radio group field which is marked required without a default value.
  • Another field that has a vRO action as default value
  • Radio Group is used as input for the vRo action

Environment

Aria Automation 8.x

Cause

The radio group is required and should have value. But this scenario(radio group + constraints) is not officially supported by the UI. 

Resolution

This is a known issue and there is no resolution at this time. 

Here are a few ways to workaround the issue:

  1. add a default value to the radio field
  2. [recommended] remove the required constraint from the field and add a new one that will be hidden and required and we will bind the radio field to the default value of the new field
  3. [recommended] remove the required constraint from the field and make an external validation that will make the radio field in red and will put an error bellow the field if it is not populated, i.e. doesn't have a value
  4. [not recommended] just ignore the error and continue populating the form, when we populate the broken one, the error will disappear