Hey folks!
I am a complete beginner so this might seem stupid
So I’ll quickly describe what I am trying to achieve:
I want a singular output from this workflow.
- If a certain promotion is evaluates to true, (i.e the today is after or on start_date and today is before or on end_date) then I want the the true branch to run.
- If no promotion evaluates to true then I want false branch to run.
The problem lies in the fact that I want to merge the data with more date in a single step.
So essentially, how do I make sure that the workflow goes through the entire data and if the true branch executes even once, then do not execute the false branch. But if it doesn’t evaluate to true even once then execute the false branch once.
I’ll also attach sample data as I think this will provide some insight into my problem.
So the data will contain entries which evaluate to true and which evaluate to false at the same time. (In this case ID 1 and 3 will evaluate to true)
My n8n version is 1.58.0
I have self-hosted it using npm
The operating system is Ubuntu
The data is on Google Sheets
The execution process setting are default.
Thanks a lot!!!