# Script with conditions

**URL:** <https://discourse.nodered.org/t/script-with-conditions/75863>\
**Category:** General\
**Created:** [28 February 2023 07:58 UTC](https://discourse.nodered.org/t/script-with-conditions/75863 "2023-02-28T07:58:51Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [15 March 2023 09:21 UTC](https://discourse.nodered.org/t/script-with-conditions/75863/12 "2023-03-15T09:21:19Z")

</div>

When I said to create a block diagram, I should have said create a flowchart that shows what will happen. Something like this

 ![Screenshot 2023-03-15 at 5.16.36 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/d/4d542ae8e0c27c9f6a479915ded1117be668aa2b.png)  
You need to build a complete flow chart of what you need to do because I don't understand your writeup.

You can draw it on paper or use the [site I used to produce this above flowchart](https://app.diagrams.net)

Doing this will help you determine how your system will work.

---

_[View the full topic](https://discourse.nodered.org/t/script-with-conditions/75863)._
