My goal is to get some file from REST service call and store it in assigned variable. First, we assign task for some application user, then creating task for some application user with role group1. After that we create REST call to get file and save into some variable and depict it in task form, but there is not file. REST service is working and send file while invoke with Postman, but jBPM don't save into variable. REST service call GET method and return javax.ws.rs.core.Response (content-type: application/json). You can see definition of web-service on attached screenshot. Also here is my project that i exported from kie workbench.
Could anyone say what i am doing wrong and how to save file into variable( or just use it in my buisness process)?