<div><br clear="all">Dear Swathi,</div>
<div> </div>
<div>If you want to call a workflow being with in the workflow, then decide in which activity step you want to call the workflow . create a standard task and assign it to some object and write a custom method where using function module "SAP_WAPI_START_Workflow" with appropriate attributes you can call a workflow and then assign this standard task which created to the Step from where you want to call workflow . </div>
<div> </div>
<div>Note: once you call a workflow dynamically then that WF runs with a different instance so you dont need to worry about getting the control back to the main workflow. as the main workflow would be running in a different instance. </div>
<div> </div>
<div>hope your query would be resolved .. if you need further clarifications and please feel free to contact </div>
<div><br>-- <br>Yours Truly,<br>Altaf Mohammed<br><a href="mailto:rahaman.ma@gmail.com">rahaman.ma@gmail.com</a><br>Satyam Computers Ltd.</div>
<div> </div>