In VCF Automation 9.1.0, the validation fails during the custom form "Price Estimate" phase. The action bound to input in custom form returns an empty array, even when valid data is present in the field.
VCF Automation 9.1.0
This is a known issue when project id is used in the action. The project ID is not passed to the action the second time it runs, specifically, when the backend re-executes it to validate the inputs at submission time.
Broadcom Engineering is aware of this issue. A fix for the issue will be released in the future version. A workaround to the issue is to have the action fall back to reading the project ID directly from the execution context if it doesn't receive it as a parameter.
Workaround :
Add the below code to the beginning of the action script :
if (strProjectName == null) {
strProjectName = System.getContext().getParameter("__projectId");
}
if (strProjectName == null) {
strProjectName = System.getContext().getParameter("_projectId");
}