After a flow termination, I need to access the State object of the end-state, that terminated the flow.
Right now, I am using the
method to get this information after submiting an event to the FlowExecutor. However, this doesn't work when the flow is closed after reaching an end-state. is there any way to access the State object of that end-state anyways?Code:ResponseInstruction.getFlowExecutionContext().getActiveSession().getState()