I have an automation to make remarks A and remarks B of an insurance.
John will have his insurance expired on 28 August 2022. The reminder is set 2 months before it expired, I assign it like this :
Given image on top is comparing the Insurance Date (Because my workflow getting the tenor every year and comparing it to today with “Greater Than Equal Symbol (>=)”), which should be getting the value same as today. The dt_filter variable type is a DataTable
And this is my if :
Inside the dt_filter for each, there is an if shown below :
When I tried to run my program, there’s an error like this :
The error is occured on the Assign as seen on top (which is refferring to assign in the first picture). When I write line the value the insurance that will end this year (which is the last tenor of it) is always throwing error as seen on top…
Any solution for this?