Alternative access to activity variable

I have a form that need to access an activity variable that store a result from a SQL query to populate a select widget, but using …/API/bpm/activityVariable/{{taskId}}/varname i’m getting 403 status result and the select widget stay empty.
Using …/API/bpm/caseVariable/{{taskId}}/varname i’m obtaining a string that need to be formatted in javascript for the select widget

There’s a clean way to do this? the first form I describe works very well but i need to be administrator… any suggestions?

Regards.

2 Likes

The file must be altered:
Custom-permissions-mapping.properties

Add the following line to the end:

Profile | User = [flownode_visualization, flownode_management, document_visualization]

After that, you must execute a push so that changes in the rights of the profiles are assigned.
Restart the server and you can see the data without being an administrator.

I hope I could have been of help.