Abstract:Aiming at the problem of personalized needs and changing needs in enterprise business processes, this paper researchs the method of realize custom workflow based on the Flex and Jbpm to solve these problems. The Flex technology and design patterns is applied to Flex gef workflow frame. The framework realized conversion of the process model to xml data.Via dynamic routing to achieve a multi-step workflow rollback. Finally, the workflow instance is generated and run by load line with jpdl files into Jbpm workflow engine, after running shows that the system can achieve user custom workflow and multi-step rollback functionality.