Here is the description of what I am trying to do and which type of error I am getting;
We are trying to use Delta export type on the HTTP export step. Where we are using {{lastExportDateTime}} expression to send lastExportDateTime in HTTP request on export step. But we are always getting one year back date i.e. 2021, when we are previewing the http request, we can only see today date but year is 1 years back. We tried enabling and then running flow end to end successfully. but that is not helping us
Currently when a delta export is previewed in the Preview panel, the preview request has the {{lastExportDateTime}} set to a dummy date which is “current date-1year”. The reason for this implementation is when {{lastExportDateTime}} is set to year-1 there are higher chances of showing sample data. This is only limited to the preview panel. However, when you run the flow from flow builder, the {{lastExportDateTime}} is the last time the flow had run.
There is an enhancement request to set the {{lastExportDateTime}} to the date which equals to "last time the flow has run". This is yet to be prioritised for development.
I hope you find this information helpful, please feel free to reach out to us if you are having any additional questions. Thank you.
Please correct me if I'm misunderstood. Is it your intention to import a specific record or a single record per file? It would be helpful if you could provide an example. Thank you very much.
Hi, I'm experiencing this same issue, and this is not in the context of the "Preview" request, I'm getting the incorrect year sent through all the way in the HTTP request, see the debug log as example
Hey David, is this debug log from when you run the flow, or is this a debug log from a preview request in the export bubble drawer? Couple other questions. Is the flow setup to run as a delta? Has it ever exported data before? Can you post a pic of the flow and also the export bubble configuration?
Sorry for all the questions, but something is amiss.