Hi all
I'm using the generate rows tool for the first time and I'm stuck at one point in the process. I need to generate multiple rows from a start date in the inputs file (example 2024/03/15) until the maturity date (example 2027/06/30) based on 6 months interval with a caveat that if the maturity date does not coincide with the last six months interval date then a separate row should be generated for the maturity date as well. So I'm expecting separate line items to be created for 2024/03/15, 2024/09/15, 2025/03/15, 2025/09/15, 2026/03/15, 2026/09/15, 2027/03/15 and 2027/06/30 in the work flow.
I've currently used the condition expression in the generate rows tool saying [Next Date] <= [Maturity Date] with the loop expression DateTimeAdd([Next Date], 6, "months"). However, I can't seem to figure out a way to add the maturity date record as a separate row.
Would be extremely thankful if you can suggest a way ahead with this requirement.
Thanks in advance