Workflow adaptation advanced scenarios
Hi Dear,
I have some questions with regards to some advanced scenarios for Workflow adaptation:
(1)Customization scenario: using a Workflow definition and a set of customization policies (defined in a separate file) I would like to be able to add, remove and swap activities both statically (prior to running a workflow instance) and dynamically during the workflow runtime. E.g., suppose we have a Workflow for national Trade and another one for International Trade. They both have a lot of things in common and I want to define one common Workflow and manage the differences through policy-based adaptation. I do not want to complicate my workflow with so many if-then-else! I want a Runtime Service to take my adaptation policy and carry out the adaptation.
(2)Fault Management scenario: Again using policies I want my workflow runtime toTransparentlytake some corrective actions when the workflow fails. For examples retry the failed activity, skip it, replace it with equivalent activity...and other fault management policies. Note that I want to keep my workflow business-focused and I do not want to complicate it with middleware concerns. I want to outsource the latter to a runtime service (or any other suitable alternative).
Could you please advice on how the above scenarios can be achieved using WF?
I am looking forward for some answers and advice
Thanks
Kind Regards
Karim
Karim,
Lab 11 of the hands on labs shows how to dynamicaly change a existing workflow. You can therefore dynamically add or remove whatever you want according to some situation; and this allows you to keep your common workflow intact.
Serge Luca; Guidance Belgium; blog : www.redwood.be
Thanks Paul,
What about Fault Management scenarios using policies? How can I get the workflow runtime to Transparently take some corrective actions when a workflow activity fails. For examples retry the failed activity, skip it, replace it with equivalent activity...and other fault management policies?
Any directions on how to achieve the above is appreciated.
Thanks
Karim