0 votes
504 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 411 views
0 votes
1 answer 562 views
0 votes
0 answers 2.7k views
0 votes
1 answer 2.2k views
0 votes
1 answer 540 views
0 votes
1 answer 938 views
0 votes
1 answer 1.0k views
0 votes
1 answer 717 views

635 questions

495 answers

98 comments

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