0 Replies Latest reply on Nov 11, 2017 12:57 PM by username5235

    Unable get file from REST call.

    username5235

      Hello everyone!

       

      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)?

       

      Regards, Paul.