On my case life cycle, have one flow action. This section has one button with local action - modal dialog.
When this opens modal dialog, the section has many required fields. I want required fields be checked, 3 run activity actions run and then closed modal dialog, when clicked “Save” button(not used pzModalButton).
For last action on the “Save” button like Close, Cancel and Home actions are not working. Required fields are not checked.
When I used Finish Assignment action, it is not working. It doesnt return main flow action.
Can you try running the below script on click of the Button to validate all the required fields?
function validateReqFields(){
if(bClientValidation &&(typeof(validation_validate) == “function”)&& !validation_validate()){
alert(“Please fill the required fields”);
pega.control.actionSequencer.clearQueue();
}
}
If this doesn’t help, try calling a Validate rule in the first Action set for the click event on that button that checks for all these Required fields.