0 votes
567 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.6k views
0 votes
0 answers 471 views
0 votes
1 answer 631 views
0 votes
0 answers 2.9k views
0 votes
1 answer 2.3k views
0 votes
1 answer 600 views
0 votes
1 answer 1.0k views
0 votes
1 answer 1.0k views
0 votes
1 answer 1.1k views
0 votes
1 answer 807 views

635 questions

495 answers

98 comments

3.3k 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
...