SFC: how to start chart at gateway startup

We have a requirement to control plc sequence of operation.
In this case we want to follow/sync state of PLC.

Say that gateway restart from gracefully or ungracefully shutdown. How would you ensure, that SFC Chart starts and run indefinitely?

I find it not so robust, sometimes it doesn't start by itself as intended. (persistent state=True)