cancel
Showing results for 
Search instead for 
Did you mean: 
tja
Nintex Newbie

Start workflow (2) within another workflow (1) on a created item from workflow (1)

Jump to solution

Hello ,

I want the following :

  • I start a workflow (1) on an item.
  • In that workflow (1) I create a new item in the same list (create or copy item)
  • I retrieve the newitem id with QUERY LIST and store the id in a variable
  • Now, I want to start a workflow (2) from the base workflow (1) but I need to start that workflow on the new created item (newitemid)
    • You could say, create a workflow that automatically starts on "the creation of an item"
      • but I need to pass information (Store data and retrieve data) between workflow (2) and workflow (1)
      • and I need to wait in workflow (1) until workflow (2) has ended.
  • Ideas ? ;-)
0 Kudos
Reply
6 Replies
Nintex Employee
Nintex Employee

Re: Start workflow (2) within another workflow (1) on a created item from workflow (1)

Jump to solution

Hi Tom,

You should be able to do this by saving workflow(2) as a component workflow, then triggering from workflow(1). Workflow(2) will then accept input variables from workflow 1 and will be able to push variables back (output variables) to workflow(1) after completion. 

The link below should provide some additional information around this functionality.

Blog Post Regarding Component Workflows

Reply
tja
Nintex Newbie

Re: Start workflow (2) within another workflow (1) on a created item from workflow (1)

Jump to solution

Hello Dan,

Tx for the suggestion !

I guess I have bad luck to be working with Nintex "on premise" ? I do not get the checkbox "component workflow"

Kind regards,

Tom.

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: Start workflow (2) within another workflow (1) on a created item from workflow (1)

Jump to solution

Hi Tom,

No worries on being on-prem. In that case, you can create the child workflow as a UDA instead.  Jean-Pierre Huls' recommendation around outputting the Item ID from the create Item action would be helpful in any scenario where you're wanting to perform these steps. 

0 Kudos
Reply
jpmhuls
Nintex Newbie

Re: Start workflow (2) within another workflow (1) on a created item from workflow (1)

Jump to solution

Just a minor improvement suggestion. You mention that you use a Query List to get the new (copy) item's id. If all is well the Create List Item action has an option to Output as ID into a workflow variable.....

View solution in original post

Reply
tja
Nintex Newbie

Re: Start workflow (2) within another workflow (1) on a created item from workflow (1)

Jump to solution

Hello Jean-Pierre,

Thanks for the Tip ! Strange however that the create item has this feature you mentioned and copy item does not.

Regards,

Tom.

0 Kudos
Reply
jpmhuls
Nintex Newbie

Re: Start workflow (2) within another workflow (1) on a created item from workflow (1)

Jump to solution

Indeed, annoying isn't it. However there's a (really old) User Voice requesting exactly this functionality:

https://nintex.uservoice.com/forums/229405-1-nintex-workflow-for-sharepoint/suggestions/5925002-a-co...

So please add you voice as well. Maybe it will be added some time soon

Reply