IBM Business Process Manager


Getting selected row on a table


Hi,
At first, I would like to say that I'm new to BPM so my questions may seem silly, be patient ;-)
I use BPM 8. What I'm trying to do is load some values to a table from a list. Which, at the same time, contains a complex business object in each row. The business object has three strings on it. When you click one of the items, its value appears in an OutputText.
I've already achieved this using a list of strings as the source for the table (f.e. stringList) and using stringList.listSelected as the source for the OutputText. That works fine and when I select a row in the table, the value is updated on the OutputText. Fantastic.
However, it doesn't work when you load a list of complex business objects. I've used something called stringsRow to fill the table, which is a complex type composed of three strings (key, name and description). Although I'm able to load those stringsRow in a table and even put a column for each string of the complex type, I'm not able to make an OutputText refresh with one of those strings when the row is selected. As in the previous example I've tried to link the OutputText with something like stringsRow.listSelected.description, but when executing the coach the OutputText content doesn't update and the label has a red rectangle surrounding it, which I think it means something is wrong coded (I'm not sure how I can debug this either).
I also would like to know whether it's possible to trigger a SQL query when selecting one of the rows and get more info from a DB, but this may be for another thread.
Thanks in advance to all for your help. If something I explained is not clear, please do not hesitate to ask,
Jesús P.
Hi Jesus,
I think the "red rectangle" is probably a good indication something is amiss. Can you post a TWX file export with instructions on how to reproduce the problem? From there folks like myself can try and load it and see what might be going on.
You are most welcome to the forum. There are folks here who are just learning to spell BPM and others who have been here for ever. No question is silly and we have all the patience in the world.
Neil
kolban
1000000446
‏2013-06-06T13:07:56Z
Hi Jesus,
I think the "red rectangle" is probably a good indication something is amiss. Can you post a TWX file export with instructions on how to reproduce the problem? From there folks like myself can try and load it and see what might be going on.
You are most welcome to the forum. There are folks here who are just learning to spell BPM and others who have been here for ever. No question is silly and we have all the patience in the world.
Neil
More...
Hey Neil,
At first let me thank you for the book you're releasing each month. It has been very helpful for me.
About your suggestion, I am posting a TWX of what I'm trying to do. It just has a single user service with some coaches in it. On the first of them, three tables are being populated with the content of three List variables. One filled with a business object stringsRow List, each composed of three strings, another one with a List of strings and finally one with a List of NameValuePair objects in it. Only OutputText associated to the second one works fine when you select one of the items in the table.
I also managed to make all of them work by using read-only Selection boxes (you'll find them also in the coach), but I have been unable to control which column is shown.
Finally I checked that the problem wasn't the stringsRow.listSelected variable being incorrectly populated as should you dismiss the first coach, a second one appears with an example of a Table and an OutputText objects being correctly populated with the item you selected in the last coach, so it rather seems a problem about the OutputText objects not being automatically refreshed in the first coach when the variable they depend on is complex.
Hope this explanation is enough.
Thanks again for your help,
Jesús P.

Related Links

Hide "Team Performance" and "Process Performance" tabs
Tables are not created using Update Tracking Definitions
Pop up is opening and immediately closing when clicking on pop-up button
DELETE option in Document List Control in IBM BPM 8.5
role binding
One Process, Many Countries, Thoughts On Data Segregation?
Manage the Visibility of Tasks in the Team Performance Dashboard
Error While Installing IBM BPM 8.5.5 Process Designer
RFE Shameless Plug - Coloured Notes
Testing framework for BPM project
How to get LDAP user attributes in IBM BPM 8.5?
Binding Sub CoachViews
Run/Execute task
How to add dojo.ready in Custom HTML
Validate the insatnce id
Start Process via REST API with TWDate as input

Categories

DW
BigData
IBM Blockchain
IBM TRIRIGA
Jazz for Service Manag...
Vietnam
Cognos
alphaWorks
University
Communities category
LPM (Live Partition Mo...
C/C++ compilers for IB...
IBM CMIS for ECM
IBM FileNet Image Manager
eDiscovery
IBM Content Manager En...
IBM Kenexa Prove It! O...
IBM Kenexa Hot Lava Mo...
IBM Security Identity ...
Netcool/Impact General...
Netcool/Impact Future ...
NetInsight Enterprise
Optimize
Capital Project Manage...
Jazz for Service Manag...
IBM Tivoli Business Se...
Software Asset Management
Security Configuration...
Cast Iron Best Practices
RPG Cafe
HATS HotSpot
Industry
Cognos BI 10
Lotus
Information Management
Rational Publishing En...
Real-time and Embedded...
Rational Method Compos...
Rational Team Concert
Installing/Configuring...
autonomic
workplace
lotus
Test tivoli forum
Test Forum for Alberto
Healthcare and Life Sc...
aW
All blogs
Web services
MS Exchange Recovery t...
Part 3 - Challenge #08...
IBM PureData-Enzee Com...
Part 3 - Challenge #14...
Digital Advertising
IBM HTTP Server
WebSphere eXtreme Scale
WebSphere DataPower XC...
AppScan Enterprise
IBM Cloud Identity
IBM Security Identity ...
QRadar Vulnerability M...
Transportation Managem...
Gentran Integration Su...
Industry
OM Mobile Framework
Gentran Integration Su...
Gentran Mapping
Gentran Director
Connect:Express Windows
Connect:Express Unix
Connect:Direct for UNIX
Connect:Enterprise Gat...
Connect:Express Windows
Pricing, Configuration...
Your Selling System So...
Documentation
C3 Analyzer Q&A
Living With Oracle
Troubleshooting & Debu...
Error Messages
C3 Partner.com/C3 Stor...
JavaServer Page & UI
Release 7 Chit-Chat
Announcements -
Receiving and putaway
Picking
Location Inventory Tra...
Internationalization a...
Receipts
Logistics Management
Delivery and Service S...
Store Order Management
Call Center Order Mana...
Console Framework (HTM...
Constraint Programming
Форум System x
Форумы ОС Linux
DB2 Content Management
1С:Предприятие на DB2
Information Server - J...
IBM Simulation Producer
IBM Academic Initiativ...
System Automation for ...
IBM i: iDoctor for IBM...
IBM Systems Director F...
Cell Broadband Engine ...
developerWorks XML zon...
Atom and RSS forum
Multithreaded Java pro...
Java filter

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile