The invention pertains to the field of
middleware technical architecture, in particular to the field of the technical architecture of a
workflow engine, which is the
workflow engine with the ability to simultaneously support artificial flow and automatic flow, comprising a
client, an agent layer, an authority
verification layer, a
process logic treatment layer and a persistence layer, the
workflow engine is characterized in that: the structure of the persistence layer is expanded, a memory persistence layer which is separated with a
database persistence layer is arranged in the persistence layer, thus carrying out the persistence of the automatic flow information determined in the
process logic layer; secondly, the
process logic treatment layer is expanded, a
rewriting engine part interface is expanded in the process logic layer, the storage mode adopted by the current process is determined by analyzing the
process definition; finally, the
algorithm for embedding the automatic flow into the artificial flow is complied, thus improving the operation efficiency of embedding the automatic flow into the artificial flow. The
workflow engine well solves the problem that the current
workflow engine can not simultaneously support the artificial flow and the automatic flow well.