Skip to main content

Is there a workflow action that provides a way to access previous versions of list items?

Thanks in advance,

Eric

I have not received a response to the question so I ended up using the custom PowerShell action.  The PowerShell is pretty simple as it gets the previous version of the workflow item and then returns XML.  I use the Query XML action to pull out the values needed for the notification.  Here's the PowerShell code.

2-12-2015 9-22-24 AM.png

Here's the workflow

2-12-2015 9-22-50 AM.png


Thanks for sharing Eric.

I've never done Powershell in a workflow before. How did you get the PowerShell action (Get Previous Item) in your workflow?

Many thanks

June


Hi June,

You can find the details here PowerShell Script Custom Workflow Action.  Please let me know if you have any questions.

Regards,

Eric


Hi Eric,

this may be a little late, but I build a UDA once to find what fields had changed when a workflow started "on modified".  It might help and it uses the Lists.asmx web service : Nintex Workflow - What Changed UDA - Vadim Tabakman 

cheers,

Vadim


@eric_halsey Could you please put the code Please for US 


Reply