Select a specific record from a BDM table

1
0
-1

I would like to select & show content from a specific record which is stored in a table which I have defined with the BDM functionality in 6.3 Suppose that there are 3 records with a unique presistenceId and other additional data available in table TO. The defined screen must show the data from record "2". I know what one of the unique values in this record is but I have as far as I can see no possibility to address the 'where value' to get that data available. Result of defining 'to_record - com.company.model.TransportOrderRequest#getTo_recID' as initial value for the screen (result from selecting the desired field from the Expression Type = Java is an error that indicates that it is impossible to get data with a 'null identifier'. Which in it self is not so strange of course.

Any ideas of how to do this?

get data from BDM defined table

1 answer

1
0
-1
This one is the BEST answer!

In order to select one existing record from your table, you can use a Query (that is defined in your BDM - there are default and custom ones that you can define). You can place a system activity in your process, on which you will create an operation. Right part of the operation will be a query you select (by clicking on the pencil icon, going to queries and providing a search value in the selected query). Left part of the operation will be your business data and in the middle you will choose "instantiate with" as operator. Hope this helps, Haris

Notifications