| Workflow is a concept which aimed at the working procedures were fixed with the conventional activities. By decomposing working activities into a good definition of tasks, roles, rules and the process for implementation and monitoring, achieve higher production level of organization and efficiency, it provide advanced tools that make enterprises better . However, in a modern enterprise heterogeneous information resources, distribution, loosely coupled environment, traditional workflow system to the inevitable Distributed direction. The emergence of mobile agent technology provides a better choice for Construct workflow system. Through the use of the code in the autonomous network nodes to collect and process information, mobile agent is to reduce network traffic, suitable for mobile users, a data integration, with the advantages of parallel mechanisms.Migrating workflow is a new technology that using mobile computing technology in the traditional workflow management system, It is a new direction of the study on workflow management in recent years. Migrating workflow management system is formed by workflow management engine and migrating instance and work position, workflow engine to complete its workflow process definition, migrating instance generated and coordination of more migrating instance ; work position formed by the park server and its associated networks, it is the work position of migrating instance; migrating instance formed by the mobile agent model, creating by workflow engine or work position, complete one or more work by using the local resources of work position.Most study on the workflow, with assumptions that migrating instance embedded explicit business process logic, that is, prior to the preparation of an migrating instance, process-oriented work shows that the business process definition, transfer activities between the logic and activities every step necessary resources and services. Making migrating instance clearly know what they should do every step and what is needed. But for those who do not have a strong structure or structure of the business process may or recurring exceptional business processes, not prejudging the precise definition of business processes, it is very difficult to make explicit definition for migrating instance. Based on the above background, the paper presents a migrating automatic planning mechanism to enable migrating instance based on the current state and target state, workflow services context of the environment and other migrating instance's travel experience, planning their migrating path. The mechanism use AI planning methods in migrating workflow system. The initial state and the target state of migrating instance is expressd with disjunction of an order predication, using HTN method to plan task, enable migrating instance plan task sequence based it's current state and the target, then according to the task sequence and the services provided by work postion, establishing dynamic migration domain, Construction corresponding itinerary graph, and using other migrating instance's travel experience as enlightening information, with the search strategy based on ant algorithm, chooseing the optimal solution map plan from travel plans which included multiple solutions .These methods using artificial intelligence technology to solve the problem that planning migrating wokflow the needs intervention of people and raise the handling capacity of adaptive business processes; using ant algorithm, the optimal solution map to guide the search, As the use of global information, the strategy map to find the global optimal solution. |