--- tags: - taskflow references: - https://docs.openstack.org/taskflow/latest/user/resumption.html - https://opendev.org/openstack/taskflow/src/branch/master//taskflow/examples/resume_from_backend.py --- [Example](https://opendev.org/openstack/taskflow/src/branch/master//taskflow/examples/resume_from_backend.py) A flow can be resumed by reconstructing the links between atoms. This is done by a factory function that has to be importable. Instead of passing a flow to the run function, we need to pass the factorkkky function to the load-from-factory function which will call the factory to create the flow and passes it to the engine. Atom names should be unique in a flow so that when resuming it the corresponding flow detail can be matched.