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.
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
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
How to add dojo.ready in Custom HTML
Validate the insatnce id
Start Process via REST API with TWDate as input