Product: VMware Aria Automation 8.x
Component: Service Broker / Custom Forms
To achieve consistent validation and error handling for Day 2 actions, you must manually implement type-checking logic within your Custom Forms:
Define Explicit Return Types: Edit any VMware Aria Orchestrator (vRO) actions used for field values. Ensure the return types exactly match the expected field type (e.g. use string instead of Any).
Add External Validation:
Navigate to the Custom Form editor for the specific Day 2 action.
Select the field requiring validation.
Under the Constraints tab, add an External Validation action.
Configure the vRO action to check the input type and return a custom error string if the input is invalid.
Manage Required Fields: Use explicit "Required" constraints or provide default values for mandatory fields to avoid generic system errors during form submission.