has_right with role runtime (Web Interface side)

624 views
Skip to first unread message

Tony VINCENTI

unread,
May 22, 2023, 5:06:19 AM5/22/23
to RunMyProcess Developer Forum
Hi,

How is it possible to know if the current user has rights to the runtime role of the current process ? has_right does not work on runtime roles.

Regards,

RunMyProcess Developer Forum

unread,
May 23, 2023, 5:01:23 AM5/23/23
to RunMyProcess Developer Forum, Tony VINCENTI
Hello Tony

Runtime users is part of the data document, and you can get this information from the instance details.  For example, you can create a GET connector from the following example URL

you shall be able to find a section regarding runtime lane 

<entry>
<title>Runtime Lanes</title>
<category term="runtime_lanes"/>
<content type="application/json">{"runtimeLanes":[{"name":"name","id":id,"users":[{"login":"email","userId": userId}]}]}</content>
</entry>

if you need this data on Web Interface, you can implement a WI -> CAPI -> Connector to return the runtime user data to the WI. 

Best regards,

RunMyProcess Support

Reply all
Reply to author
Forward
0 new messages