How to compare previous value with current value in nintex workflow. if current value equals to old value i need to set field value.
can you do a math calculation on ID to get the previous ID then query list for properties of previous item for comparison?
thanks in advance
can you please explain how to do that in workflow.
create a number variable called vNumPreviousID or something
use Math operation
pass in current item ID
output to vNumPreviousID
Query list where ID = vNumPreviousID
pull values that you want into different variables
compare variables pulled above from query list with current item properties
i tried above logic but not working, This is my workflows
ok this is assuming that don't delete any items. what did the math operation return for previous ID? can you confirm there is an item with that ID and it is the one you want?
i didn't deleted any items , I have two list items but data is same in the both items , I am comparing that two items. after math operations, I am getting ID's but that ID's not in the list.
Retrieving data ...