We tried on BPM 8.6 using CSHS and looks like it is a bug
it returns valid always
we put the following on click of a button
${Signature1}.setValid(!${Signature1}.isEmpty() && ${Signature1}.getData() || ${Signature1}.getData() != "", "Please pvovide a signature");
if (${Signature1}.isEmpty() || !${Signature1}.getData() || ${Signature1}.getData() == "") {
return ${Signature1}.isValid();
}
${Signature1}.setValid(!${Signature1}.isEmpty() && ${Signature1}.getData() || ${Signature1}.getData() != "", "Please pvovide a signature");
if (${Signature1}.isEmpty() || !${Signature1}.getData() || ${Signature1}.getData() == "") {
return ${Signature1}.isValid();
}
${Signature1}.setValid(!${Signature1}.isEmpty() && ${Signature1}.getData() || ${Signature1}.getData() != "", "Please pvovide a signature");
if (${Signature1}.isEmpty() || !${Signature1}.getData() || ${Signature1}.getData() == "") {
return ${Signature1}.isValid();
}