Task Form Variables endpoints displays also Process Variables

Hello,

in my application I am using Generated Task Forms to define variables that are needed for the back-end. In this case two possible REST API endpoints can be used to fulfill the User Task.

  1. GET /task/{id}/rendered-form
  2. GET /task/{id}/form-variables

The rendered-form is a good option, but front-endteam complaint that they cannot put their own styling on it. The second option would be great, but the issue is here that all the variables up to that point are displayed and its impossible to figure out which variables need to be filled out with values. One way is to check if the value is “null”, but this solution does not help if whenever the default value is set.

Is there a way to ignore the process variables? Because in the form-variables endpoint documentation it clearly states that it only retrieves the form variables for a task.

Thanks!