# Edge run executable

**URL:** <https://forums.losant.com/t/edge-run-executable/3903>\
**Category:** Help\
**Tags:** workflow\
**Created:** [July 8, 2021, 8:35pm UTC](https://forums.losant.com/t/edge-run-executable/3903 "2021-07-08T20:35:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [July 8, 2021, 8:35pm UTC](https://forums.losant.com/t/edge-run-executable/3903/1 "2021-07-08T20:35:42Z")

</div>

I was hoping to do the following:  
Have a dashboard with an “input control block” that sends a “device command” to an edge device.  
The edge device receives the “Device command Trigger” and runs an edge workflow which contains a “Run executable Node” and returns some data to the payload.  
How can I visualize that returned data in the initial dashboard with the Input block?

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [July 8, 2021, 8:49pm UTC](https://forums.losant.com/t/edge-run-executable/3903/3 "2021-07-08T20:49:33Z")

</div>

Hey @Lars_Andersson,

There are a few ways you could do this, but they all distill down to reporting the result of the executable as device state.

You can do this with a Device State node in your Edge workflow, or you could publish a message to a custom MQTT topic and use an MQTT trigger node in an Application workflow.

Let me know if this answers your question.

Thank you,  
Heath

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [July 9, 2021, 1:04pm UTC](https://forums.losant.com/t/edge-run-executable/3903/5 "2021-07-09T13:04:36Z")

</div>

Thanks, I got that working good using device state.
