Workflow Soluiton

 View Only
  • 1.  Multiple Dialog Workflows in same session?

    Posted Jun 28, 2010 06:41 PM
    I am currently in the design/architecture phases for a workflow project that I want to use multiple dialog workflows in multiple models.  However, I want these dialogs to use the same session for each instance.  Is it possible to pass out a session ID and pick up that session in the next dialog workflow in the next model?

    Thanks in advance,

    Brandon


  • 2.  RE: Multiple Dialog Workflows in same session?

    Posted Jun 30, 2010 04:03 PM
    Anyone know if this is possible?


  • 3.  RE: Multiple Dialog Workflows in same session?

    Posted Jul 03, 2010 07:02 PM
    I would think this is NOT possible. If you use the same session var, then it is possible 2 people could be editing the same process with the same session variable. In that case, the system would throw an error (session already exists).

    Maybe if you tell us what you are trying to accomplish it might be easier to assist with a solution?


    Rob


  • 4.  RE: Multiple Dialog Workflows in same session?

    Posted Jul 07, 2010 09:05 PM
    Brandon,

    We might be able to help you out with some possibilities if you explain a little more of why you think you want to do that.  Typically you have a lot of meta data tied to a session and keeping the sessions separate is critical to making sense of what is happening and what happened in a workflow project. 

    Regards!
    stuper2.


  • 5.  RE: Multiple Dialog Workflows in same session?

    Posted Jul 12, 2010 12:04 PM
    Sorry for the delayed response all.

    This is a bit difficult to explain, but I'll give it my best shot.  I'm wanting to break a large Workflow project up into several models for organizational purposes.  However, when I create the initial dialog workflow, I need a way to call the other models (which will also contain forms) either without creating a new dialog workflow or by creating a dialog workflow that will keep the session alive.  In the past, I've always done this using WebForm projects, but I'm not sure how to accomplish this in a Workflow project.


  • 6.  RE: Multiple Dialog Workflows in same session?
    Best Answer

    Posted Jul 12, 2010 12:14 PM
    I totally understand what you're trying to do now.  

    You've hit a limitation on the tool that isn't commonly hit but is being address in a future version.  There's currently no way to make a model that can be used by multiple dialog workflow components so that you can share some common forms.  

    There is a very complicated option that you could potentially use: External Dialog Step.

    This step allows you to temporarily pass control out to another aspx project and wait for a redirect back to resume the workflow.  

    You could build your common handling in a web forms project and then use the ExternalDialogStep in the dialog workflow components to hand off control and await the return.  

    Warning: this step is fickle and complicated and I don't really recommend it, but you *could* do what you're trying to do with this and not have to wait for the next release of Workflow.


  • 7.  RE: Multiple Dialog Workflows in same session?

    Posted Jul 12, 2010 01:34 PM
    It sounds like my best bet for now is to just use embedded models for organization.  Thanks for your help!