Mauro
Mauro

Reputation: 69

How/Where do I store the status of a flow for later checking?

I need to store into the persistence layer the status of a flow for later checking (in particular, if a FlowException had been raised). How can I do that? Do I need to use the node's storage like the table NODE_CHECKPOINTS or are there other ways?

Upvotes: 0

Views: 44

Answers (1)

Joel
Joel

Reputation: 23140

This information is not stored by the node currently.

You'd have to subscribe to CordaRPCOps.stateMachinesFeed and log the information yourself.

Upvotes: 1

Related Questions