# System.perspective.navigate doesn't work on session custom property tag change script

**URL:** <https://forum.inductiveautomation.com/t/system-perspective-navigate-doesnt-work-on-session-custom-property-tag-change-script/78348>\
**Category:** Ignition\
**Tags:** scripting, perspective\
**Created:** [August 24, 2023, 5:34pm UTC](https://forum.inductiveautomation.com/t/system-perspective-navigate-doesnt-work-on-session-custom-property-tag-change-script/78348 "2023-08-24T17:34:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [May 8, 2024, 2:42pm UTC](https://forum.inductiveautomation.com/t/system-perspective-navigate-doesnt-work-on-session-custom-property-tag-change-script/78348/5 "2024-05-08T14:42:29Z")

</div>

It would probably work with some changes, but you're going to run into name collisions just trying to use it like it is because the supplied kwarg is `session`.

```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)

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/system-perspective-navigate-doesnt-work-on-session-custom-property-tag-change-script/78348)._
