locked
Workflow scenario and implementation RRS feed

  • Question

  • Hi everybody.

    I'm a beginner in windows workflow foundation and I want some samples for creating and  running scenarios.

    One of scenarios that I think about, is "product purchasing in small company":

    We have some employee with their boss, store keeper. Employee order some product and boss will approve them, then sore keeper check if ordered product is exist or not. If exist, it will be delivered to employee and if not he/she should be buy it and deliver to employee.

    For this simple scenario,

    How can I implement it with windows workflow 4?

    How many layer should I create?

    What technology should I use?

    How can I run?

    How can I save data in SQL Server with windows workflow 4?

    How can I read data and send it to windows form GUI (presentation layer)?

    Thanks in advance.

    Friday, July 27, 2012 2:09 PM

Answers

All replies

  • Hi everybody.

    I'm a beginner in windows workflow foundation and I want some samples for creating and  running scenarios.

    One of scenarios that I think about, is "product purchasing in small company":

    We have some employee with their boss, store keeper. Employee order some product and boss will approve them, then sore keeper check if ordered product is exist or not. If exist, it will be delivered to employee and if not he/she should be buy it and deliver to employee.

    For this simple scenario,

    How can I implement it with windows workflow 4?

    How many layer should I create?

    What technology should I use?

    How can I run?

    How can I save data in SQL Server with windows workflow 4?

    How can I read data and send it to windows form GUI (presentation layer)?

    Thanks in advance.


    is there any one?
    Sunday, July 29, 2012 2:07 AM
  • Hi,

    You can start from Workflow samples:

    Windows Workflow (WF) Samples

    http://msdn.microsoft.com/en-us/library/dd483375

    Corporate Purchase Process

    http://msdn.microsoft.com/en-us/library/dd807514

    If you encounter any problem, please update here.


    Leo Tang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Ahmad.Babaee Thursday, October 11, 2012 4:09 PM
    Sunday, July 29, 2012 3:40 AM
  • Thanks dear Leo,

    I downloaded and saw it before (in this week).

    I didn't understand what Workflow does in it (purchase process)? For saving data, WinForm uses common classes but what does workflow do here?

    How can I develop activity diagram with Workflow? Is there any book to describe about it?

    Sunday, July 29, 2012 4:07 AM