0 votes
389 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 963 views
0 votes
0 answers 321 views
0 votes
1 answer 441 views
0 votes
0 answers 1.6k views
0 votes
1 answer 1.9k views
0 votes
1 answer 405 views
0 votes
1 answer 589 views
0 votes
1 answer 707 views
0 votes
1 answer 548 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
...