Workflow Soluiton

 View Only
  • 1.  Switching a workflow to Async

    Posted Aug 28, 2013 01:21 AM

    Hello All,

    Apologies if this is a very basic question and I should have known this already, however, I am just trying to understand the world of Workflows better and get more appropriate theory on this.

    I came across to a solution (not in Sym Connect) where it was just mentioned that workflow was moved to Async and no other details were provided.

    I am unsure that what does switching a workflow to Async mean and how is it done? It would be great if somebody here could help me the details.

    Thanks
    Snm1502



  • 2.  RE: Switching a workflow to Async

    Posted Aug 28, 2013 09:09 AM

    Basically, when a workflow runs asynchronously, the workflow components all run independently of one another. So if you have another workflow component that's running slow, it won't hinder the operation of other components.



  • 3.  RE: Switching a workflow to Async

    Posted Aug 28, 2013 11:35 PM

    Thanks for the reply Reecardo...

    So if I understand correct, if there is an error / exception in any of component or an embedded model of a workflow that is running in ASYNC mode, it wont hold back the workflow, instead it will just skip that component and proceed further. If yes, so this would ensure that all the components have completed their task, correct?

    1. So, if this is the case, the error / exception thrown by the faulty component will that still be captured / handled by the Exception trigger component in a workflow?

    2. How do we move a workflow to ASYNC mode?

    Thanks
    snm1502



  • 4.  RE: Switching a workflow to Async

    Posted Sep 02, 2013 11:54 PM

    Only workflows of the type "Workflow" (compared to WebForm or Monitor) can be switched to Async mode. Simply add the "Switch Workflow To Async" component after the "Start" component to your workflow.

    Errors you should be finding from the logs.