# One button to set complete

**URL:** <https://discourse.nodered.org/t/one-button-to-set-complete/78928>\
**Category:** Dashboard\
**Created:** [3 June 2023 16:02 UTC](https://discourse.nodered.org/t/one-button-to-set-complete/78928 "2023-06-03T16:02:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PawelR](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@PawelR](https://discourse.nodered.org/u/PawelR)\
**Post date:** [3 June 2023 16:02 UTC](https://discourse.nodered.org/t/one-button-to-set-complete/78928/1 "2023-06-03T16:02:29Z")

</div>

Hi,  
I'm sorry if this is on forum but i cant see answer  
What i need to set/write in button to use join block for set complete "flag" to close "join function"

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/3/f3fafe1a90a70fe8b9b1a77673a24d3919ad7b32.jpeg)  
For now i have setup like this with error

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [3 June 2023 16:08 UTC](https://discourse.nodered.org/t/one-button-to-set-complete/78928/2 "2023-06-03T16:08:03Z")

</div>

You are getting confused msg.topic is not msg.complete

add a change node after button and  
set `msg.` `complete`  
to value of `boolean` `true`

You may benefit watching the [essentials videos](https://m.youtube.com/watch?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6&v=ksGeUD26Mw0&embeds_referring_euri=https%3A%2F%2Fnodered.org%2F&source_ve_path=OTY3MTQ&feature=emb_imp_woyt)

---

<div class="post-metadata">

**Author:** ![PawelR](https://avatars.discourse-cdn.com/v4/letter/p/f04885/32.png) [@PawelR](https://discourse.nodered.org/u/PawelR)\
**Post date:** [3 June 2023 16:12 UTC](https://discourse.nodered.org/t/one-button-to-set-complete/78928/3 "2023-06-03T16:12:12Z")

</div>

Thank you E1cid - also i will look on videos..

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 June 2023 16:12 UTC](https://discourse.nodered.org/t/one-button-to-set-complete/78928/4 "2023-06-17T16:12:34Z")

</div>

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