Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In SharePoint designer or Nintex workflow is it possible to check what the value of a list column was before it was updated? I need to perform certain operation based on the early values.

In SharePoint event receivers we can do this by using Before-properties. Is there any similar functionality in workflow as well?

share|improve this question

2 Answers 2

I know you can make a workflow to trigger when an item is modified and also that you can configure the start conditional to use built-in logic that basically captures the previous value but this functionality doesn't seem to be available in any workflow actions.

If you have Nintex Forms then you could edit the list form to hide all of the controls directly linked to your list columns with the IsEditMode() rule applied to a Panel. You would need to recreate all of these labels/controls and add them to a second panel control which would be hidden using the rule IsNewMode().

By doing this you could tie in a workflow that first logs all of the information in your list columns to the history list and then update your list columns with the values entered into the controls within the IsEditMode() Panel via the update list action.

Hope that helps.

share|improve this answer

If you are updating the column value from the workflow itself, then you can track the column value by reading the listitem. If someone changes the value from the UI or programmatically , i think there is no other way than event receivers to get before and after properties.

share|improve this answer
    
Yes, we can get before and after properties using event receivers. And I didn't find any such in SPD and Nintex workflows. Did you ever happen to deal with any other workflow that provide this functionality? –  Bishnu May 30 at 7:46
    
I don't think SPD and nintex workflow provide these kind of activities or any other third party workflows. –  Aanchal May 30 at 7:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.