0 votes
3.1k views
by (21.5k points)

2 Answers

0 votes
by (1.2k points)
For this you have to write JS code in script task and for validation you can use tw.system.addCoachValidationError("controlid","Error to be shown");. and on submit first run the server script and attach a exclusive event also to check if it is not valid then use stay on page intermeddiate event otherwise go to next activity.
by (220 points)
you can use the below script in data change of coach in CSHS:

tw.system.coachValidation.addValidationError("tw.local.variable", "Please enter string value")
0 votes
by (30.6k points)

Related questions

0 votes
1 answer 1.3k views
0 votes
1 answer 914 views
0 votes
1 answer 1.5k views
0 votes
1 answer 796 views
0 votes
1 answer 730 views
0 votes
1 answer 1.1k views
0 votes
1 answer 1.3k views
0 votes
1 answer 860 views
0 votes
1 answer 722 views
0 votes
3 answers 3.6k views
0 votes
1 answer 2.4k views
0 votes
1 answer 8.9k views
0 votes
1 answer 1.5k views

730 questions

807 answers

98 comments

5.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
...