Workflow Chaining is not working | Community
Skip to main content
December 14, 2015
Solved

Workflow Chaining is not working

  • December 14, 2015
  • 2 replies
  • 757 views

Hi,

     As per my use case one workflow has to call another workflow.In first workflow process step(final step of the workflow) i called another workflow by the following method

    arg1.startWorkflow(wm,arg0.getWorkflowData());

   Though I don't have iteration logic in first workflow,second one is getting called multiple times(2 or 3).Please guide me how to resolve this.

    Thanks

 

   Kirithi

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Try writing a custom step in AEM that uses Workflow APIs to invoke the 2nd workflow. Then use that step when you want to invoke  the other workflow. This will execute only 1.

2 replies

December 15, 2015

Hi,

    I tried in the same way,it is not working.Please find the attachment for reference

    

    

 

   

   Called the method startWorkflow in implementation class.

 

  Thanks!

   Kirithi

smacdonald2008
smacdonald2008Accepted solution
New Participant
December 14, 2015

Try writing a custom step in AEM that uses Workflow APIs to invoke the 2nd workflow. Then use that step when you want to invoke  the other workflow. This will execute only 1.