I am working on converting workflows from vRO 7.6 to 8.5. In 7.6 I use the Custom validation option on the form. This involves using OGNL language to call an action. It can pass the value of the field into the action, run through some checks and throw an error if it fails any checks. I cannot find this same option in vRO 8.
For example, here is a screenshot from vRO 7.6 where I'm passing in a VM name (string, yes string in my case) into an action that verifies the VM exists, its turned on, pingable, vmware tools, etc. If it would fail any checks then it would throw an error and prevent the user from submitting the form.
Here is a screenshot of where I would expect this feature in vRO 8. Nothing around custom validation. I can add a regex, but not a custom validation to run an action for my string input. On a side note, for all of my string inputs these Minimum value and maximum value options exist. It's strange to have a minimum and maximum value for a string.
Does anyone know if we can run an action, passing the field's value in for validation?
On the left side of the "Input Form" screen is the Request tab and the Validations tab. Click Validations then drag "Orchestrator validation" onto the canvas. Edit the properties on the right side, add field, etc.
On the left side of the "Input Form" screen is the Request tab and the Validations tab. Click Validations then drag "Orchestrator validation" onto the canvas. Edit the properties on the right side, add field, etc.
That's it! Thank you!