# Open View when Tag Changed

**URL:** <https://forum.inductiveautomation.com/t/open-view-when-tag-changed/92252>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 22, 2024, 6:07pm UTC](https://forum.inductiveautomation.com/t/open-view-when-tag-changed/92252 "2024-06-22T18:07:51Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Francisco\_Ochoa](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@Francisco\_Ochoa](https://forum.inductiveautomation.com/u/Francisco_Ochoa)\
**Post date:** [June 24, 2024, 3:14pm UTC](https://forum.inductiveautomation.com/t/open-view-when-tag-changed/92252/20 "2024-06-24T15:14:05Z")

</div>

> [@System.perspective.navigate doesn't work on session custom property tag change script](https://forum.inductiveautomation.com/t/system-perspective-navigate-doesnt-work-on-session-custom-property-tag-change-script/78348/5):
>
> ```python
> if currentValue.value > 2:
> all_sessions = system.perspective.getSessionInfo()
> for user_session in all_sessions:
> if user_session.id == session.props.id:
> page_ids = user_session.pageIds
> for page_id in page_ids:
> system.perspective.navigate(page="/", sessionId=user_session.id, pageId=page_id)
> 
> ```

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/f/7f3a29cebd952c71ed4cd813d92d669b9be183be.png)  
im tried with the other code

show this

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/5/d51a56c81ea975284171d77f7f1094520a1fb2fe.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/9/39ae2d257553702cb78c2f3df175b42a39ae118a.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/open-view-when-tag-changed/92252)._
