0 votes
394 views
in Toolkits by (860 points)

1 Answer

0 votes
by (21.5k 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 982 views
0 votes
0 answers 324 views
0 votes
1 answer 448 views
0 votes
0 answers 1.6k views
0 votes
1 answer 1.9k views
0 votes
1 answer 412 views
0 votes
1 answer 606 views
0 votes
1 answer 723 views
0 votes
1 answer 558 views

634 questions

495 answers

97 comments

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