achilles_aditya
Nintex Newbie

Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

Hi All,

Following is the scenario

  • There are two list "Parent" and "Child" as soon as the item is added in the "Parent" a workflow with "Create Item" creates item in "Child"
  • When a new Item is created in "Child" another workflow updated the "ChildListID" column of the "Parent" with the item ID of the "Child" item
  • Now I want to trigger a new workflow when "ChildListID" column of the "Parent" has value.

Issues:

  • The condition in  workflow "Start When Item is modified"  is "ChildListID" greater than 0.But the condition never gets trigger because "ChildListID" is getting updated by another workflow.

Workaround I am using:

  • I have added "Wait until "ChildListID" greater than 0 and have selected "Yes" in "Start When Item is modified".
  • Issue is that the workflow always remain in progress which may impact the performance.

Please suggest the best practice

0 Kudos
Reply
9 Replies
rickbakker
Nintex Newbie

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

Hi aditya gandhe​,

It sounds like you are making it much complexer than needed. In the workflow on the parent list, you can use the  'Store new item in' field in the 'Create item' action to get the ID of the item created in the child list. Having that ID, you can do what you want next, like update the item of the parent, start another workflow, ...

Cheers,

Rick

Please mark this reply as a correct answer if it answers your question.

Reply
achilles_aditya
Nintex Newbie

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

Thanks Rick,

For this requirement its working.But in case of general situation when I need to trigger a workflow based on the column value which gets updated by another workflow then what would be the best soln?

Reply
rickbakker
Nintex Newbie

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

Hi aditya gandhe​,

The best practice is to use a conditional start and you already do that based on your description.

I tried to reproduce your situation, but I could not. In my SharePoint 2013 environment it works just fine as I expected.

I created 2 lists. On list 1, I have a workflow with the following setting:

List 2 contains a workflow which updates an item in list 1, and thus triggers the workflow on list 1. This works just fine.

Cheers,

Rick

Reply
burkslm
Nintex Newbie

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

aditya gandhe maybe you should screenshot your workflow settings screen to see if something isn't setup properly.

Reply
achilles_aditya
Nintex Newbie

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

Since its on client network I am not able to share the screenshot. But my question is more generic and it can be tried in any situation

Reply
rickbakker
Nintex Newbie

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

In that case, you already got your answer.

0 Kudos
Reply
achilles_aditya
Nintex Newbie

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

No, I didn't. For other conditions I am still using wait until update action

0 Kudos
Reply
philipplucas
Automation Master
Automation Master

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

You had a look at

?

View solution in original post

Reply
xMikeX
Automation Master
Automation Master

Re: Workflow triger based on the value of the column which gets set by another workflow

Jump to solution

You'll need to make the change that Philipp suggested so that the system account running  the workflow will be able to trigger the second workflow upon update.

Reply