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?
Hi,
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
-1
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
Hi,
i tried above logic but not working, This is my workflows
math operation:
query list:
set cond:
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.
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.