Calculation in Stage Variable
Posted: Wed Apr 22, 2015 3:02 pm
All,
I need to do a calculation in transformer. Kind of confused.
We have data in below format:
ID,DATE,STATUS
A,20150228,Active
B,20150228,Active
Now, if the process runs on March 31st, and if current date is more than DATE+31days then change status to Expired. So, if process runs on 2015-03-15 and as DATE is not 20150228+31 days, then it should be active.
Thanks for your help.
I need to do a calculation in transformer. Kind of confused.
We have data in below format:
ID,DATE,STATUS
A,20150228,Active
B,20150228,Active
Now, if the process runs on March 31st, and if current date is more than DATE+31days then change status to Expired. So, if process runs on 2015-03-15 and as DATE is not 20150228+31 days, then it should be active.
Thanks for your help.