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

how to get previous value of a list item in Nintex workflow?

how to get previous value of a list item in Nintex workflow?

Reply
11 Replies
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

Hi Rajadurai,

I think you can use the webmethod "GetListItemChanges". It will return an xml file that you can split to check the specific value of your document.

Regards.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

Hi,

In Workflow settings --> Conditional Start option gives you the current and previous values of a column, here you can check current and previous values of a column/field and then decided whether to run the workflow or not when an item is edited (if you want to trigger the workflow on item change).

Thanks,

Krishna.

Reply
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

Hi Krishna,

I can't see this option in Office 365.

Regards

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

Hey Pierre,

This option is only available for Nintex on prem, but it is currently in development for O365. Check out the roadmap

https://roadmap.nintex.com/ - under the In Development tab is "Conditional Start for SharePoint List Workflows"

Reply
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

Hi Chadd,

Thank you for the roadmap, I didn't know about that.

So, the only way to have the previous value is with the webmethod "GetListItemChanges" ? Or there is another action ?

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

The downside of the Conditional start option is that it is a syncronous action, which means that if you have more than a few checks, the form will not close until all the checks have been made. I have an example of 13 conditional checks which results in 40 second waiting time until the form closes.

Reply
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

@cdsommerfield  Was this ever released for Office 365? I still do not see that option under conditional start. 

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

No, apparently it is not. I ended up having to build the functionality myself (I'm not a developer, btw). I added a column to the list for "Previous Status" (my requirement was to keep track of changes in status and run actions if a specific status was the previous status). Then I had the workflow update "Previous Status" to the current status at the end of the workflow when status is changed. The end result is having a previous status available to compare with the changed status.

 

Would really be nice to have this functionality built into the product to be able to check previous values outside of conditional start as well.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: how to get previous value of a list item in Nintex workflow?

Hi Krishna,

Thanks for the post.

I am new to the Nintex and i was trying to solve one requirement from our business user, which was including a Notification alert based when single column value is modified.(This is SharePoint 2013 and a custom list).

Your Post helped me and I applied the same logic. But only single difference is that in Nintex workflow, you can easily get in comparison of column value i.e. for comparing previous and latest value. e.g. Title (Previous Value) and Title, attaching image to understand.

0 Kudos
Reply