# \`IF\` Node: Problem with the 'IF' node in production mode

**URL:** <https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629>\
**Category:** Questions\
**Created:** [October 3, 2024, 6:50pm UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629 "2024-10-03T18:50:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Massoud\_Sharifi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/massoud_sharifi/32/43220_2.png) [@Massoud\_Sharifi](https://community.n8n.io/u/Massoud_Sharifi)\
**Post date:** [October 3, 2024, 6:50pm UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/1 "2024-10-03T18:50:40Z")

</div>

When I add ‘IF’ node in my workflow and run the workflow in the production environment the execution returns error before starting the workflow

The error:  
Cannot Read Properties of undefined (reading ‘description’)

> **[n8n.io - Workflow Automation](https://primary-dev-8c0c.up.railway.app/workflow/6L1LjH6W5xQqhe5M)**

## Information on n8n setup

- _n8n version: 1.61.0_
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Postman):**
- \*\*Operating system:_window_

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [October 3, 2024, 6:50pm UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/2 "2024-10-03T18:50:42Z")

</div>

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:**

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [October 3, 2024, 7:26pm UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/3 "2024-10-03T19:26:32Z")

</div>

Welcome to the community @Massoud_Sharifi !

> **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.
> 
> * * *

You haven’t shared your configuration. The problem is likely with the usage of expressions. Your IF node is blank. Can you share the actual configuration of the node, please?

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/d/a/da7468d2c48844f7363c0f9343456d1e040c1512.png)

---

<div class="post-metadata">

**Author:** ![Massoud\_Sharifi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/massoud_sharifi/32/43220_2.png) [@Massoud\_Sharifi](https://community.n8n.io/u/Massoud_Sharifi)\
**Post date:** [October 7, 2024, 5:00pm UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/4 "2024-10-07T17:00:19Z")

</div>

@ihortom This blank `IF` is not working for me in production, I used in three workflows, but not working

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [October 8, 2024, 5:57am UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/5 "2024-10-08T05:57:15Z")

</div>

Hey @Massoud_Sharifi , that is what I pointed out at. You left it blank but there has to be something in there. So the question is to you, what are you comparing with what?

---

<div class="post-metadata">

**Author:** ![Massoud\_Sharifi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/massoud_sharifi/32/43220_2.png) [@Massoud\_Sharifi](https://community.n8n.io/u/Massoud_Sharifi)\
**Post date:** [October 8, 2024, 10:39am UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/6 "2024-10-08T10:39:51Z")

</div>

@ihortom Thanks for your answers  
This workflow is not working for me in production

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [October 8, 2024, 5:03pm UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/7 "2024-10-08T17:03:54Z")

</div>

@Massoud_Sharifi , I had no problem with your workflow.

When you say it is not working, what do you mean exactly? What error do you get?

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/0/7/07e073ea921e071fbd90ffa60c993191e1a20d47.png)

---

<div class="post-metadata">

**Author:** ![Massoud\_Sharifi](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/massoud_sharifi/32/43220_2.png) [@Massoud\_Sharifi](https://community.n8n.io/u/Massoud_Sharifi)\
**Post date:** [October 9, 2024, 11:16am UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/8 "2024-10-09T11:16:29Z")

</div>

@ihortom Thanks  
My problem is fixed now.  
I copied a `IF` node from a workflow that worked before and used that in my workflow. my problem fixed.  
When I select `IF` node from the nodes list, the workflow does not work

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [October 16, 2024, 11:17am UTC](https://community.n8n.io/t/if-node-problem-with-the-if-node-in-production-mode/56629/9 "2024-10-16T11:17:19Z")

</div>

Closed on October 16, 2024, 11:17am UTC

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