[BUG] Edit Field

Describe the problem/error/question

I made the code to calculate available time, in the preview of the result it works as shown in the photo

but when the automation is executed it shows the other result, how can I solve this?

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version:1.67.0
  • **Database (default: SQLite):postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker):
  • **Operating system:ubunto 20.04

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

@Jon
@jan
Have you seen this?

Hey @Ruan17 , are you pointing out at different times when the workflow runs from the time you see in the output without running the node?

Could you share your workflow with the mock-up data?

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


“I performed this test that caused the BUG in the result on Monday, November 11, 2024, at 1:00 PM.”

NODES: DADOS - EWT

data_reuniao: scheduled date for the meeting.

reuniao_disponibilidade_medio: average availability time.

reuniao_tempo_medio: average duration of meetings.

NODES: Aggregate

$(‘Aggregate’).first().json: occupied time slots.

NODES: Execute Workflow Trigger

expediente_dias: work hours control for each day of the week.

@Ruan17 , to be able to run your wortkflow, could you also provide the output of the “Sort” node? Basically I need only the first two and the last two nodes for the test and the data produced by the other nodes in between.

It sounds like it has something to do with timezone/locale differences but would be interesting to see how it works on my n8n instance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.