Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I have an already existing application in Silverlight 4.0 with WCF services. Now what I want is a workflow to be integrated along with the above application. The workflow will be a simple approval workflow i.e sequential workflow. Can any one suggest some links or a solution?

share|improve this question
    
Are you able to provide a more specific question? You should try to find a "how do I build a workflow" tutorial. –  Kirk Broadhurst Nov 23 '11 at 6:01
    
I can build workflow but to integrate it with the existing project so that i don't need to change much in wcf service is my main aim. –  Karan Shah Nov 23 '11 at 6:05
    
Karan, I don't think you question is answerable as it stands. You really need to update it with a more thorough description of what you are trying to achieve. –  Dan McGrath Nov 23 '11 at 20:55
2  
What did you try, so far? Did you try any solution that you didn't find good for your case? –  kiamlaluno Nov 25 '11 at 14:54

1 Answer 1

A workflow is simply applying a state to your application's data.

And the type of workflow you described (simple, sequential) is a really good fit with the async model that WCF requires.

When a user submits a request for a resource, they have to wait until their supervisor (and so on up the chain) approves the request. In the meantime, the user is free to go about other work or simply wait for the resource request to be approved. Polling or notification mechanisms of some sort are required for the user and the approvers. The user needs notification for when the resource is available, and the approvers need notification that they have work (grant | deny approval) to do.

One possibility for those mechanisms is to add a polling routine to your View-Models. Another option would be to look at push type notifications. However, there's nothing within Silverlight or WCF that makes creating a workflow inherently more difficult than with any other framework.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.