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

Capturing Previous Value (Status)

Hi All,

I wonder if anyone could help me please? I'm looking for a reliable solution to capture the field (In my case) Status which I need to include in my email notifications whenever an item updated.

My current solution which has proved unreliable has been creating an item in a list called transaction log with the time and date stamp, Status and the ID number so when my notification email is sent out it queries the transaction log list for the ID and Status and filter's based on the modified (less than) in the immediate list against the created column of the (transaction log list).

Thanks in advance,

AJ

Labels: (1)
0 Kudos
Reply
2 Replies
lakshminarayana
Nintex Newbie

Re: Capturing Previous Value (Status)

What i understood is you want to send previous value of 'Status' field in the email notification when an item updates.

1. I think you created a new list 'Transaction Log' which will store 'Id' and 'Status'. In this case, when ever item updates in     the main list, run workflow like

  • Using 'Set Variable' action get the 'Status' value when Id = current item id.
  • 'Set a Condition' action, if value of set variable (status) is empty (only first time when no item present in 'Transaction Log History' list with same Id) then 'Create Item' in 'Transaction Log' list with 'Id' and 'Status' fields. Else use 'Update Item' action and update item in 'Transaction Log' with 'Status' when Id = current item id.
  • Send value of set variable (status) in 'Send Notification' action.

2. No need to maintain separate list, create a new column called 'Previous Status' in the main list and whenever item           updates update the status value in 'Previous Status'. Send value of 'Previous Status' in 'Send Notification' action.

    First time alone you will get empty value (when item creation) from second time onward you will get previous status       correctly.

Reply
praios81
Nintex Newbie

Re: Capturing Previous Value (Status)

I thought of a second status column too as ‌ supposed. Just make sure you don't show the new column in your form and hide it from all views to (softly) prevent manipulation by the user.

Reply