Allow only certain variables through task

Is it possible to allow reading/submitting only certain variables through a user task?

I want GET /task/anId/form-variables only return a certain set of variables fro security reasons


An approach Ive considered is to use a create listener to create local variables. Hence you can restrict access to the subset required for the task. Then use another (end) listener to integrate any updates into the main process variables.

Next you will need to enable access to the REST API for retrieving local variables and disable access to the API for retrieving process variables. If you have an API gateway or similar, this can readily be achieved…



1 Like