Automating Windows Workflow. RRS feed

  • Question

  • User-963208184 posted

    Hi All,

    I have inherited a VS2010 solution that includes a Workflow Project. In the main solution there is a Class Library project called ActivityLibrary and this is where all the code has been placed for business logic to the workflow it's where the codeactivity is performed etc. THen we have a workflow project consisting of the xamlx files that use classes from the ActivityLibrary to define what gets done when. Back in the main solution there is a user interface that that will for instance gather information and then create a new task into the workflow with the following kind of syntax:

    using (var wf = new PreQuoteCallWorkflow.WorkflowServiceClient())
                            var createTask = new PreQuoteCallWorkflow.CreateTask

    THis is fine as we want users to initiate the Workflow. However I now need to set off workflows in the background without users starting the wf process. I have created a class in our ActivityLibrary and I have created a new .xamlx file. I want my .xamlx to run automatically every 20 mins. how do I go about doing this

    Friday, March 14, 2014 6:07 AM

All replies