Abstract
This research proposes a formal method for mapping Timer Events in business process models to executable activities in Windows Workflow Foundation (WF) 4.0. Utilizing Business Process Modeling Notation (BPMN) 1.1 and XML Process Definition Language (XPDL) 2.1, the method addresses the "language gap" between business design and software implementation. Experimental validation through the XPDL2WF tool confirms that Timer Events can be directly and accurately mapped to WF flowchart models, ensuring functional parity between the design and the execution environment.
Introduction
In the lifecycle of Business Process Management (BPM), a significant challenge is the transition from high-level visual models to functional software. Designers typically use BPMN for visualization and XPDL for storage, while developers implement these processes using frameworks like Windows Workflow Foundation (WF).
While basic tasks are straightforward to map, "Events"—triggers that start or interrupt a process—are more complex. Specifically, Timer Events (triggers based on specific times or delays) are essential for modeling real-world business cycles but have lacked standardized mapping methods for modern WF 4.0 platforms. This paper introduces a formal mapping framework to automate this process, reducing manual coding errors and development time.
Mapping Methodology
The researchers chose WF 4.0 as the target platform, favoring its "Flowchart" activity over older sequential models for its ability to better represent the complex branching and looping found in real-world business processes. The mapping process is defined by three core mathematical rules:
- Rule 1 (Identity Mapping): Establishes a correlation between XPDL element IDs and WF activity IDs, determining the appropriate container structure.
- Rule 2 (Traceability): Maps the event name to a
WriteLineactivity. This ensures that the generated workflow is observable, providing real-time execution status for debugging.
- Rule 3 (Timer Logic): This is the central contribution. It defines how to parse the
TimeCycleattribute from XPDL and convert it into a WFDelayactivity.
The final output for a Timer Event is a Sequence containing both the WriteLine activity (for logging) and the Delay activity (for the actual timing logic).
Implementation and Results
The authors validated their methodology by developing a custom tool named XPDL2WF. This tool was used to convert models designed in professional BPM suites (like TIBCO Business Studio) into WF 4.0 code. The experiments demonstrated that Timer Events were directly and automatically mapped to WF flowchart models, and the resulting workflows correctly executed the intended timing logic, waiting for the specified durations before proceeding.
Conclusion and Future Work
The proposed mapping method provides a robust technical bridge between business process design and software execution. By formalizing the translation of Timer Events, the researchers have simplified the development of time-sensitive business applications. Future research will focus on expanding this framework to include other XPDL event types—such as Message, Error, and Signal events—and enhancing the user interface of the XPDL2WF tool.
Summary updated