Temporal Reasoning in Workflow Systems

In a workflow system, autonomous agents perform various activities cooperatively to complete a common task. Successful completion of the task often depends on correct synchronization and scheduling of agents' activities. It would greatly enhance the capabilities of current workflow systems if quantitative temporal constraints on the duration of activities and their synchronization requirements can be specified and reasoned about. This paper investigates such requirements and related reasoning algorithms. In particular, the paper studies the consistency, prediction and enactment services in a workflow system, and provides corresponding algorithms. The consistency service is to ensure that the specification of the temporal constraints is possible to satisfy; the prediction service is to foretell the time frame for the involved activities; and the enactment service is to schedule the activities so that, as long as each agent starts and finishes its task within the specified time period, the overall constraints will always be satisfied. For the enactment service, the paper identifies two practically interesting families of enactment schedules for autonomous agents, namely “free schedules” and “restricted due-time schedules”. In a free schedule, an agent may use any amount of time to finish the task as long as it is between the minimum and maximum time declared by the agent when the workflow is designed. A restricted due-time schedule is a more restrictive one in which the maximum amount of time that an agent may use is limited to a smaller number than the declared maximum. The paper presents efficient algorithms to find free and restricted due-time schedules. The paper also provides algorithms for the above services when multiple time granularities are involved in the temporal constraint specification.

[1]  Thomas Dean,et al.  Using temporal hierarchies to efficiently maintain large temporal databases , 1989, JACM.

[2]  Claudio Bettini,et al.  Symbolic representation of user-defined time granularities , 2004, Annals of Mathematics and Artificial Intelligence.

[3]  Rina Dechter,et al.  Temporal Constraint Networks , 1989, Artif. Intell..

[4]  Peter Z. Revesz,et al.  A Closed-Form Evaluation for Datalog Queries with Integer (Gap)-Order Constraints , 1993, Theor. Comput. Sci..

[5]  Sushil Jajodia,et al.  Satisfiability of Quantitative Temporal Constraints with Multiple Granularities , 1997, CP.

[6]  Johann Eder,et al.  Time Constraints in Workflow Systems , 1999, CAiSE.

[7]  Eugene C. Freuder,et al.  The Complexity of Some Polynomial Network Consistency Algorithms for Constraint Satisfaction Problems , 1985, Artif. Intell..

[8]  Sunil K. Sarin,et al.  Experiences with workflow management: issues for the next generation , 1994, CSCW '94.

[9]  Fabio Casati,et al.  Conceptual Workflow Model , 1999 .

[10]  Ronald L. Rivest,et al.  Introduction to Algorithms , 1990 .

[11]  Sushil Jajodia,et al.  Time Granularities in Databases, Data Mining, and Temporal Reasoning , 2000, Springer Berlin Heidelberg.

[12]  Curtis E. Dyreson,et al.  A Glossary of Time Granularity Concepts , 1997, Temporal Databases, Dagstuhl.

[13]  Dipak Chaudhuri,et al.  Dynamic scheduling—a survey of research , 1993 .

[14]  D. Hollingsworth The workflow Reference Model , 1994 .

[15]  Sushil Jajodia,et al.  A general framework for time granularity and its application to temporal reasoning , 1998, Annals of Mathematics and Artificial Intelligence.

[16]  Ira J. Haimowitz,et al.  Temporal Reasoning for Automated Workflow in Health Care Enterprises , 1994, Electronic Commerce.