There's a property called {{lisa.vse.matched.transaction}}, which is available and populated after the VS Image Response Selection step is executed. This property is a reference to our internal com.itko.lisa.vse.stateful.model.Transaction java object. You can call the following method on the object to get the transaction id: com.itko.lisa.vse.stateful.model.Transaction.getId();
So you can add an "Execute Script (JSR-223)" step right after "VS Image Response Selection" and add the following code:
import com.itko.lisa.vse.stateful.model.Transaction;
Transaction transaction = testExec.getStateObject("lisa.vse.matched.transaction");
long id = transaction.getId();
testExec.setStateValue("matchedID", id);
You can then dereference {{matchedID}} in JDBC step