IBM Business Process Manager


Single coach, multiple validation paths


Simple question: you have multiple buttons on a coach, and each has a different requirement on the data entered.
You set up the first validation, and you get the green tick flow. All is good.
You set up the second validation, and you don't get another green tick. Okay, fair enough, they all go through the one script. So how do I differentiate between the different button presses to determine which validation rules to apply?
That predicament is valid for the default button, but I made a button that sets a string to a provided variable on click, and that would provide me with the ability to choose which rules to apply.
Still, I'm left wondering why a coach, by default, only allows a single validation path from a coach. Now I have to build a moderately monolithic case structure to handle it.
I believe that one can detect which button was pressed to cause the validation to occur. Given that, one can then design the validation logic accordingly. I think the designers intent when they designed coaches was that before a coach would be allowed to transition to the next step in a Human Service, it would have to pass validation. That seems to be accomodated by the current solution.
However, I think there may have been some merit on being able to attach validation handlers to outgoing links coming from a Coach. That too seems like it would have worked and also solved your considerations.
Neil

Related Links

How to Change Comment Color
Read user\'s session data at server side
Getting error while running service / task in BPM 7.5
Help: WS Security Implementation IBM BPM 8.0.1
Validation On Legacy Document Attach Control
TWSearch not working for migrated instances
Help with Selecting value from DatePicker in dojo
Duplicate Entries in Process Designer
Process Portal Collaberation Feature Not Working
CV - share data in coachview behaviours
CWLLG0371W: There is no script content.
Building a Mobile App in IBM BPM 8.5
IBM BPM on SQL Server 2008r2 on Windows 2008r2
US Phone CV with Validation
No vertical scroll even if my coach height exceeds screen
deployed processes can\'t be invoked after system detects inacitivy for a certain amount period

Categories

DW
Compiler Cafe
IBM Connections Cloud
IBM Security
IBM SmartCloud Applica...
Globalization
LPM (Live Partition Mo...
IBM Verse
IBM SmartCloud Notes
IBM Content Navigator
IBM Mobile ECM
IBM Kenexa Click and H...
IBM Kenexa Onboard on ...
Netcool/Impact General...
eMessage8
CustomerInsight
PredictiveInsight
Jazz for Service Manag...
IBM Tivoli Monitoring ...
Customizations
Cast Iron PIPs and TIPs
WebSphere Cast Iron Ex...
IBM SPSS Data Collection
RDi - Rational Develop...
IBM ILOG Optimization
Cognos Controller
Cognos Planning 10
Cognos Mobile 10
Eventos en Latinoamérica
IBM developerWorks Россия
Сообщить о некорректно...
Rational Publishing En...
IBM Rational Asset Ana...
Development Tools (RAD...
websphere
autonomic
Robocode
university
tivoli
Solaris to Linux Migra...
Telecommunications
Media and Entertainment
IBM Globalization
Networking
Open Source
Autonomic computing
dW Questions and Answers
Informix developer and...
InfoSphere Information...
IBM DB2 Analytics Acce...
Socially Integrated
BigFix App for QRadar ...
Công ty thiết kế website
Master the Mainframe G...
Migrating to WebSphere...
Part 2 - Challenge #10...
WebSphere Portal and P...
IBM Monitoring and Dia...
IBM Visual Configurati...
IBM Security Identity ...
QRadar Extensions
General
Reporting
Connect:Direct
Sterling Secure Proxy
Developer Tools, Utilt...
Learning @ Sterling Co...
OM Mobile Framework
Connect:Express Unix
Connect:Enterprise Gat...
Services & Integration
Test Area
Project Management and...
ROI Issues
Living With Oracle
How To's
Release 6.7
E-Commerce/EDI/XML Cou...
Location Inventory Tra...
Moderator Collaboration
OLAP & Pivot Charts
Java Visualization Pro...
JRules - General
Rule Execution Server
Information Server - J...
IBM Mote Runner SDK
IBM Image Construction...
IBM MapReduce Tools fo...
IBM Simulation Producer
Replication Monitoring...
IBM Enterprise Asset M...
Performance Management...
IBM i: Backup/Recovery
IBM i: Firmware
Web 2.0 Apps
Active Memory Expansion
HPC Central Technical ...
Cluster Systems Manage...

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile