# PLC driven screen routing

**URL:** <https://forum.inductiveautomation.com/t/plc-driven-screen-routing/114408>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [March 10, 2026, 12:31am UTC](https://forum.inductiveautomation.com/t/plc-driven-screen-routing/114408 "2026-03-10T00:31:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ethan1](https://avatars.discourse-cdn.com/v4/letter/e/6bbea6/32.png) [@ethan1](https://forum.inductiveautomation.com/u/ethan1)\
**Post date:** [March 10, 2026, 12:31am UTC](https://forum.inductiveautomation.com/t/plc-driven-screen-routing/114408/1 "2026-03-10T00:31:25Z")

</div>

Hey all,

Building a Perspective HMI on Ignition Edge 8.3.3. I need screens to automatically sequence based on PLC tag states — essentially if certain tags change, the session should navigate to the appropriate view automatically.

I have a routeRunScreen session message handler with the routing logic. Works fine when triggered from session scope (nav buttons, startup). The problem is triggering it from tag change scripts — gateway scope has no session context, so sendMessage fails.

Is there a standardized community approach for PLC-tag-driven automatic screen navigation in Perspective? Should I keep pursuing the message handler pattern and solve the gateway scope problem, or is there a better pattern I’m not aware of?

---

<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:** [March 10, 2026, 1:16am UTC](https://forum.inductiveautomation.com/t/plc-driven-screen-routing/114408/2 "2026-03-10T01:16:42Z")

</div>

Pull the tag(s) into your navigation docked view (on view custom props) and put the change scripts there.

---

<div class="post-metadata">

**Author:** ![ethan1](https://avatars.discourse-cdn.com/v4/letter/e/6bbea6/32.png) [@ethan1](https://forum.inductiveautomation.com/u/ethan1)\
**Post date:** [March 10, 2026, 1:18am UTC](https://forum.inductiveautomation.com/t/plc-driven-screen-routing/114408/3 "2026-03-10T01:18:21Z")

</div>

That is such a simple solution. I’m fairly new and didn’t realize views could have their own custom props. Thanks!
