none
Is it possible to start a 2013 workflow from within another 2013 workflow ? (sharepoint online) (reusability)

    Question

  • Hello,

    I'm mainly working on SharePoint Online environments, so I would like to do this on online environments.

    Since 2013 workflows made by SPD2013 are limited to 50 variables (and no stage scoping either), and I hate to copy/paste logic, I would like to re-use 2013 workflows (like procedures or functions in normal code).

    I also hate doing spaghetti programming, with a switchboard stage and conditional jumping to other stages.

    So I would like to start a 2013 workflow from within another 2013 workflow.
    I know you can start 2010 workflows, that I do also, but in 2010 you cannot do REST calls, which is what I use frequently.

    I tried getting to the Workflow Manager using REST, but that did not work.
    I searched if it would be possible to fire events on the service bus so the Workflow Manager would pick it up and start correct workflows, but nothing found either.


    Joeri De Valck

    Friday, August 08, 2014 7:56 AM

Answers

  • Hi Greetings.

    pls check if its possible

    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/569619ae-0638-4a9a-b7f0-53d65b93f86b/sharepoint-2013-one-workflow-call-another?forum=sharepointdevelopment

    http://prasadtechtactics.blogspot.in/2012/07/sharepoint-designer-2013-workflows-part_565.html


    Please remember to click 'Mark as Answer' on the answer if it helps you

    Friday, August 08, 2014 9:41 AM
  • Yes, add some checkboxes to your list and use conditions and actions to change their value and start your next workflow

    i.e.

    workflow 1 - runs when an item is created/modified

    does whatever your stuff is and then its final action is to set checkbox1 to YES

    workflow 2 - runs when an item is modified

    Condition: If checkbox1 is equal to YES

    then do actions


    Regards

    Sergio Giusti Sergio Blogs
    Linked In Profile

    Whenever you see a reply you think is helpful, click Vote As Helpful.
    Whenever you see a reply you think is the answer to the question, click Mark As Answer.

    Monday, August 11, 2014 11:47 AM

All replies

  • Hi Greetings.

    pls check if its possible

    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/569619ae-0638-4a9a-b7f0-53d65b93f86b/sharepoint-2013-one-workflow-call-another?forum=sharepointdevelopment

    http://prasadtechtactics.blogspot.in/2012/07/sharepoint-designer-2013-workflows-part_565.html


    Please remember to click 'Mark as Answer' on the answer if it helps you

    Friday, August 08, 2014 9:41 AM
  • Yes, add some checkboxes to your list and use conditions and actions to change their value and start your next workflow

    i.e.

    workflow 1 - runs when an item is created/modified

    does whatever your stuff is and then its final action is to set checkbox1 to YES

    workflow 2 - runs when an item is modified

    Condition: If checkbox1 is equal to YES

    then do actions


    Regards

    Sergio Giusti Sergio Blogs
    Linked In Profile

    Whenever you see a reply you think is helpful, click Vote As Helpful.
    Whenever you see a reply you think is the answer to the question, click Mark As Answer.

    Monday, August 11, 2014 11:47 AM