Restrict batch process for 2 years
Hi All,
I have some rules in the batch which run for future dates and consume very long duration. I want to restrict it to 2 years. Can it be made possible?
Example :
1. MPWpMkUpR = if(MPWpUnelapsedB, MTWpMkUpR , MPWpRecR / MPWpRecC)
Here MPWpUnelapsedB evaluates for current date till end of calendar for future dates. That is RPAS_TODAY till 2021, as my calendar hierarchy is till 2021. Can i make this rule, specifically run only till 2019 ?
2. SDWpBOPR = if(current >= today, lag(SDWpEOPR), ignore).
Please let me know if there is any way as such to restrict.
Thanks,
Ganesh