Abstract:This paper analyzes the merits and shortcomings of precompiled workflow and Web form-based workflow model. A Web-based workflow model supporting script embedded into activity is proposed, which combines the merits of precompiled with the form-based workflow. It separates the business logic of activity from the workflow engine, and supports the sole user-definition of interface, business logic and activity transition. Practice shows this model has better expandability and reusability.