Claims
- 1. A method for processing a long running transaction for a service request, the method comprising:
receiving a service request at a workflow engine, the workflow engine being in communication with an original adapter and at least one receiving adapter, the original adapter generating the service request and the receiving adapter corresponding to a resource implementing a long running transaction in accordance with an instruction provided to the workflow engine by a business rule; transmitting the instruction to the receiving adapter; receiving an exception from the receiving adapter; propagating the exception to the business rule; propagating the exception to the original adapter; receiving a notification from the at least one receiving adapter indicating that the long running transaction is done; and propagating the notification to the original adapter when all instructions provided by the business rule have been executed.
- 2. A method according to claim 1, further comprising:
transmitting a commit call to the at least one receiving adapter; and receiving a normal return in response to the commit call.
- 3. A method for implementing a manual repair capacity for service requests, the method comprising:
configuring a workflow engine to allow for manual repair, the workflow engine being in communication with at least one adapter; receiving an exception with regard to a pending service request at the workflow engine; transmitting a message to an operator interface to indicate to the operator that a repair is required; and transmitting information about a service request to the operator interface.
- 4. A method according to claim 3, wherein the operator may re-throw the exception to the workflow engine.
- 5. A method according to claim 3, wherein the operator may re-try an instruction that resulted in the exception.
- 6. An apparatus for processing a long running transaction comprising;
an original adapter for generating a service request; a receiving adapter corresponding to a resource executing a long running transaction in accordance with an instruction corresponding to the service request, the receiving adapter transmitting an exception when a long running transaction is executed; and a workflow engine receiving the service request from the original adapter and sending the instruction corresponding to the service request to the receiving adapter, the workflow engine including a state machine indicating the long running transaction is pending and propagating the exception to the original adapter.
- 7. A method for integrating multiple resources in a service provider environment, the method comprising:
transmitting a service request to a workflow engine, the service request including one or more components to be executed in accordance with instructions provided by a business rule in communication with the workflow engine; and receiving a notification that the one or more components of the service request have been executed.
- 8. A method according to claim 7, further comprising:
receiving an exception from the workflow engine when one of the components of the service request has not been executed.
- 9. A computer program product for implementing an adapter, the computer program product comprising a computer readable medium having computer code thereon, the computer code comprising:
program code for transmitting a service request in a system data model to a workflow engine; `program code executable upon receiving a normal return from the workflow engine in response to the service request; and program code executable upon receiving an exception from the workflow engine in response to the service request.
- 10. The computer program product of claim 9, further comprising program code for translating a service request in a resource data model into the service request in the system data model.
- 11. The computer program product of claim 9, wherein the program code executable upon receiving a normal return comprises code for indicating normal completion of the request to a resource that issued the service request.
- 12. The computer program product of claim 9, wherein the program code executable upon receiving an exception includes code for indicating failure of the request to a resource that issued the service request.
- 13 A method for processing in a workflow engine a service request that includes a long running transaction, the method comprising:
receiving a service request; entering an active state for processing the service request; sending instructions to receiving adapters in response to the service request; receiving a long running transaction exception from one of the receiving adapters; entering, responsive to the long running transaction exception, a long running transaction state during which a long running transaction completion may be received; and entering a dormant state until receipt of an indication of long running transaction completion.
- 14. The method of claim 13, further comprising sending instructions to receiving adapters while in the long running transaction state.
- 15. The method of claim 14, wherein the dormant state is entered after all non-long running transaction instructions have been completed by the receiving adapters.
Parent Case Info
[0001] This application claims priority from provisional application No. 60/270,313, which was filed Feb. 20, 2001 and is hereby incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60270313 |
Feb 2001 |
US |