What is the structure of return object of bpmext.ui.getInvalidViews(); ? I have 3 invalid views , in console it shows [object Object],[object Object],[object Object].
I want to see list of invalid views using this. Can anyone help me how to read the returned object ?
You should be able to access the results of getInvalidViews() like an array in the console. Maybe you are trying to write the objects out to the console instead of getting the names?
Thanks for reply stephen.
var invalidViews = bpmext.ui.getInvalidViews(); — I have written this code in onClick event of button.
the above code also not showing proper data in console. is this valid behaviour ?
I would like to validate controls with setInvalid() then get the control/label names are which are invalid using bpmext.ui.getInvalidViews(); . So that i can show validation errors to the user with these invalid control/labels.
It appears that you have a space the Invalid Views variable and your array index: invalidViews 
There should be no space when referencing an array index: invalidViews