# system.perspective.sendMessage() function

**URL:** <https://forum.inductiveautomation.com/t/system-perspective-sendmessage-function/73047>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 28, 2023, 9:35pm UTC](https://forum.inductiveautomation.com/t/system-perspective-sendmessage-function/73047 "2023-04-28T21:35:56Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 28, 2023, 10:28pm UTC](https://forum.inductiveautomation.com/t/system-perspective-sendmessage-function/73047/5 "2023-04-28T22:28:29Z")

</div>

Some further discussions that might help you:

[https://forum.inductiveautomation.com/search?q=%40pturmel%20system.perspective.sendMessage%20scope%20session%20order%3Alatest](https://forum.inductiveautomation.com/search?q=%40pturmel%20system.perspective.sendMessage%20scope%20session%20order%3Alatest)

See especially this alternate approach to such problems that better fits a highly multi-user multi-tasking platform like Ignition:

> [@Gateway MessageHandler](https://forum.inductiveautomation.com/t/gateway-messagehandler/69932/2):
>
> Automating in gateway events is a very good idea, as critical operations can be made to run reliably, in one spot, regardless what is happening with client connections. However, including client UIs in the control loop is a very bad idea. Instead, make the event script self-contained, working directly with the tags that control the process, tags and/or database entries that your UI sets to provide guidance, and tags that your script updates to provide UI feedback. The latter would often be da…

---

_[View the full topic](https://forum.inductiveautomation.com/t/system-perspective-sendmessage-function/73047)._
