Following the Level 2 Course, when I enter the javascript expression in the Convert2CSV Node for Workflow 3 {{$runIndex > 0 ? 'file_low_orders':'file_high_orders'}} It doesn’t return any File Name for the following Discord Node…
I don’t know Javascript enough. I tried changing the ? but I couldn’t find a suitable alternative.
What is the error message (if any)?
There is no Error, but it doesn’t correctly send the right message to Discord.
Can you share the workflow you currently have an more information on what the error is? Looking at your expression I don’t see any issue so I suspect it is something in the workflow.
Tip for sharing your workflow in the forum
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>
```
Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!