I am exploring the table option in SSD. I can see there is a rowClick event where we can pick a flow. I am able to pass the entire table data, but not able to pass the selected row level data.
Eg:
In the following table, on clicking a particular row, I am trying to navigate to another page where the book details are displayed. For this I need the book id of the selected row.
When using the rowClick event in SSD, you should use the keyword table (which refers to the selected row object), rather than page.tableData, which refers to the entire table dataset.
For example, if you want to pass the book ID to another page or flow, you can directly use:
table.id
Or any other field from the selected row like:
table.name
This will give you the data specific to the row that was clicked.
Try logging bh.input.id in the flow using console.log() to see what value you’re receiving. Based on that, you can access the nested values accordingly. Alternatively, you can use row as Noxolo suggested above.