0 votes
493 views
in Toolkits by (860 points)

1 Answer

0 votes
by (21.6k points)

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();
}

Related questions

0 votes
2 answers 1.4k views
0 votes
0 answers 403 views
0 votes
1 answer 549 views
0 votes
0 answers 2.7k views
0 votes
1 answer 2.2k views
0 votes
1 answer 524 views
0 votes
1 answer 916 views
0 votes
1 answer 959 views
0 votes
1 answer 697 views

635 questions

495 answers

98 comments

2.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...