Hello, glad to meet with great community.
I have WebAPI for trigger which has date range, like StartDate and EndDate. We have a lot of data and we decided to limit them for dates range. Now I am setting up new intergation based on this API. I want to set these two inputs parameters automatically like:
StartDate = 01-01-1900 for first call of trigger OR EndDate from previous call of the trigger.
EndDate = current date.
As result I want to see next picture, for example:
1 call of trigger - StartDate = 01.01.1900, EndDate = 01.05.2021
2 call of trigger - StartDate = 01.05.2021, EndDate = 01.06.2021
3 call of trigger - StartDate = 01.06.2021, EndDate = 01.07.2021 and ect.
How can I get access to input values from previous step and also I must be sure that previous call was successful.
Thanks and best regards.