# Check if OpenRPA is open

**URL:** <https://discourse.openiap.io/t/check-if-openrpa-is-open/1684>\
**Category:** OpenCore\
**Tags:** openrpa\
**Created:** [July 17, 2024, 3:03pm UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684 "2024-07-17T15:03:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Madsen](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Peter\_Madsen](https://discourse.openiap.io/u/Peter_Madsen)\
**Post date:** [July 17, 2024, 3:03pm UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684/1 "2024-07-17T15:03:58Z")

</div>

is it possible to check from some properties in the OpenFlow collections if a user has OpenRPA open.  
for some reason we experience that OpenRPA can be closed and is not opening on its own. so i wonder if it is possible to query the openflow database for such information. i think that i could use the property “lastseen” from user collection. but would there be a better approach?

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [July 17, 2024, 4:26pm UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684/2 "2024-07-17T16:26:16Z")

</div>

Lastseen, or \_rpaheartbeat

---

<div class="post-metadata">

**Author:** ![Peter\_Madsen](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Peter\_Madsen](https://discourse.openiap.io/u/Peter_Madsen)\
**Post date:** [July 17, 2024, 4:51pm UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684/3 "2024-07-17T16:51:54Z")

</div>

oh, interesting i did not see the property “\_heartbeat” or “\_rpaheartbeat” how do they all differ. are there any documentaiton i have missed on these properties?

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [July 17, 2024, 4:57pm UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684/4 "2024-07-17T16:57:54Z")

</div>

the idea was to keep track on the different ypes of clients a user would be using and know if/when they had used them  
but after implementing it, i kind of regret’ed adding this. I want a one to many relation ship with the different type of clients **and** i would like to allow a diverse set of clients, so hardcoding the client types in openflow is not good long term

But since i already added the first 4-5 types, I don’t intent on removing those anytime soon.  
There is a custom command ( `[getclients](https://github.com/open-rpa/openflow/blob/e384be22396175c0ce8fa899ed376f5b9f21091a/OpenFlow/src/Messages/Message.ts#L5411)` ) that will send you all clients currently connected, that might work better for you ( [used here](https://github.com/open-rpa/openflow/blob/e384be22396175c0ce8fa899ed376f5b9f21091a/OpenFlow/src/public/Controllers.ts#L4605C68-L4605C78) ).  
But custom-command commands is my “beta testing” aera, it’s where i add stuff before i know if it’s needed and/or what parameters and return values it need, so this might change a little over time, until it’s moved in as a permanent command in the api.

---

<div class="post-metadata">

**Author:** ![Peter\_Madsen](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Peter\_Madsen](https://discourse.openiap.io/u/Peter_Madsen)\
**Post date:** [July 17, 2024, 5:23pm UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684/5 "2024-07-17T17:23:00Z")

</div>

i see, thank you for sharing. that would indeed be a very suitable solution, but we are not on the beta, however it does sound interesting.

speaking of features to look into. i think it could be useful to have a way of grouping workitem queues together to easier manage the list of workitem queues to provide a better overview of the workitems.

also is it a known issue that selecting a specific workitem queue is not always being reflected in the workitems displayed. it seems to happen quite a lot however refreshing the browser does fix it.

---

<div class="post-metadata">

**Author:** ![Allan\_Zimmermann](https://discourse.openiap.io/user_avatar/discourse.openiap.io/allan_zimmermann/32/12_2.png) [@Allan\_Zimmermann](https://discourse.openiap.io/u/Allan_Zimmermann)\
**Post date:** [July 17, 2024, 6:08pm UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684/6 "2024-07-17T18:08:42Z")

</div>

Its in your version too, that is where the `clients` menu item is getting data from, im just telling you it might change at some time

---

<div class="post-metadata">

**Author:** ![Peter\_Madsen](https://discourse.openiap.io/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Peter\_Madsen](https://discourse.openiap.io/u/Peter_Madsen)\
**Post date:** [July 18, 2024, 11:19am UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684/7 "2024-07-18T11:19:09Z")

</div>

I tried using the command `getclients` from NodeRED. but the output i get doesnt show users with an active OpenRPA session overall i’m not really sure what to make of the output. i never used the `custom` node before so i’m not quite sure how i use the function.

I went with a different approach using the \_rpaheartbeat

---

<div class="post-metadata">

**Author:** ![system](https://discourse.openiap.io/uploads/default/original/2X/a/a1ca7b164ac9a826839704d9ac82c7b5e6bcf557.png) [@system](https://discourse.openiap.io/u/system)\
**Post date:** [July 21, 2024, 11:19am UTC](https://discourse.openiap.io/t/check-if-openrpa-is-open/1684/8 "2024-07-21T11:19:25Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
