使用 biztalk 2009 的基本工作流程有哪些最佳实践?
我正在开发一个 Biztalk 2009 概念验证项目,并希望设置一个基本的审批工作流程。
请求休假。
Step 1. Request Vacation.
Step 2. Route Request to Manager.
Step 3. Manager Approve / Denies Vacation.
Step 4. Update Vacation Calender / Notify Originator of Approval.
在 Biztalk 之外,我必须提供一个用于请求休假和批准休假的界面。
如何获取等待经理批准的项目列表? 我很困惑是否应该从 Biztalk 维护/查询待处理项目列表,或者是否需要构建一组单独的表来管理等待批准的内容。
任何帮助或建议将不胜感激!
I'm working on a Biztalk 2009 proof of concept project and would like to setup a basic approval workflow.
Request Vacation.
Step 1. Request Vacation.
Step 2. Route Request to Manager.
Step 3. Manager Approve / Denies Vacation.
Step 4. Update Vacation Calender / Notify Originator of Approval.
Outside of Biztalk I'll have to provide an interface for requesting vacation and approving vacation.
How do I get the list of items pending approval for my manager?
I'm confused about if the list of pending items should be maintained / queried from Biztalk, or if I need to build a separate set of tables to manage what is awaiting approval.
Any help or suggestions would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从本质上讲,BizTalk 是一个消息总线(好吧,不是真的,但它是一个有用的抽象)。它本身并不实际存储数据。事实上,仅基于这种情况,我不确定 BizTalk 是否是您的最佳选择。如果您有 SharePoint,通过 SharePoint 使用普通工作流程可能更适合您。
也就是说,如果 BizTalk 已做出决定,我将执行以下操作:
请求/批准界面
Approval 接口将连接到数据存储(可能是 SQL DB)以获取“等待批准”项目的列表。
将项目的状态设置为“已批准”或“已拒绝”后,使用 SQL 将数据推送到 BizTalk 以启动其余流程。
对于您的具体问题:是的,您需要 BizTalk 之外的某个位置来存储请求,并且从该存储中生成“待处理”请求的列表会更好。
At it's core, BizTalk is a messaging bus (okay, not really, but it's a useful abstraction). It doesn't actually store data on its own. In point of fact, I'm not sure based just on this scenario that BizTalk is your best bet. If you have SharePoint, using normal WorkFlows through SharePoint might work better for you.
That said, if the BizTalk decision has been made, I'd do the following:
Interface for requesting / approving
The Approval interface would hook into a data store (probably a SQL DB) to get a list of the "waiting approval" items.
Once the status of the item is set to "Approved" or "Denied" have SQL push data to BizTalk to kick off the rest of the process.
To your specific quesiton: yes, you'll need some place outside of BizTalk to store the requests, and the list of "pending" requests would be better generated from that store.