简体   繁体   中英

How to use .Net WorkFlow 4.0 in distributed application

We are developing an ERP distributed application which is having WCF Data service server and client, where we planned to use WF4.0 for the leave approval process. Leave approval process will be as explained below.

  • Employee will request leave for his reporting officer through his ERP Client. Approver [reporting officer] will get the notification about leave request.

  • Approver will approve the leave request through his ERP Client. Leave requester will get the notification about leave approval.

The process mentioned above should happen through single work flow. Since ours is distributed application, is it possible to have same single work flow object across different ERP Clients?

Please provide your valuable ideas to accheive the above task.

Yes, you can have this with persistence WF feature:

As workflows' state is saved into a database and WF provides a rich API to restore a workflow instance to some saved state, you can distribute a workflow across different tiers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM