Framework for modeling continuations in workflows
First Claim
Patent Images
1. A method for enabling creation of control flow patterns in a workflow, said method comprising:
- generating a plurality of continuations for one or more program fragments during execution of the program fragments by a meta-runtime engine, said meta-runtime engine virtualizing a managed execution environment having fixed functionality, each of the generated plurality of continuations representing an activity execution context;
storing the generated plurality of continuations to create an execution journal for the program fragments;
selecting one of the stored continuations from the execution journal and retrieving the selected continuation responsive to a request from a user;
recreating the activity execution context associated with the retrieved continuation; and
executing, within the re-created activity execution context, the program fragments associated with the retrieved continuation.
2 Assignments
0 Petitions
Accused Products
Abstract
Enabling creation of control flow patterns in a workflow via continuations. Each continuation represents an activity execution context for an activity executing in the workflow by a workflow engine virtualizing a managed execution environment. Responsive to a request, the activity execution context is recreated via the continuation and the activity is executed within the recreated context.
146 Citations
20 Claims
-
1. A method for enabling creation of control flow patterns in a workflow, said method comprising:
-
generating a plurality of continuations for one or more program fragments during execution of the program fragments by a meta-runtime engine, said meta-runtime engine virtualizing a managed execution environment having fixed functionality, each of the generated plurality of continuations representing an activity execution context;
storing the generated plurality of continuations to create an execution journal for the program fragments;
selecting one of the stored continuations from the execution journal and retrieving the selected continuation responsive to a request from a user;
recreating the activity execution context associated with the retrieved continuation; and
executing, within the re-created activity execution context, the program fragments associated with the retrieved continuation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for modeling continuations in workflows, said system comprising:
-
a memory area for storing an execution journal representing a plurality of continuations associated with program fragments executed by an execution machine, each of the plurality of continuations representing an activity execution context; and
a processor configured to execute computer-executable instructions for;
generating the plurality of continuations for the program fragments during execution of the program fragments;
storing the generated plurality of continuations in the memory area;
providing an interface to the execution journal in the memory area;
responsive to a request for a particular continuation received via the provided interface, retrieving the particular continuation from the execution journal in the memory area;
recreating the activity execution context associated with the retrieved continuation; and
executing, within the re-created activity execution context, the program fragments associated with the retrieved continuation. - View Dependent Claims (15, 16, 17)
-
-
18. One or more computer-readable media having computer-executable components, said components comprising:
-
an execution machine component for executing a plurality of program fragments associated with a workflow, said execution machine component virtualizing a managed execution environment having fixed functionality;
a state component for generating a plurality of continuations for the program fragments being executed by the execution machine component, each of said plurality of continuations including a runtime state and an application state, said runtime state indicating a scheduler queue status, said application state indicating an activity status; and
a memory component for serializing the continuations; and
a replay component for re-creating, responsive to a request from a user, the runtime state and the application state associated with one or more of the continuations serialized by the memory component and for executing, within the re-created runtime state and the application state, the program fragments associated with the one or more continuations. - View Dependent Claims (19, 20)
-
Specification