Share ideas, ask questions, and get feedback about developing for ProcessMaker

Moderator: amosbatto

Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
By jagannew
HI ,
i am Delete file from frontend using Process maker RestAPI. but i got the following error mesage

{"error":{"code":400,"message":"Bad Request: **ID_CASES_INPUT_DOCUMENT_DOES_NOT_EXIST**"}}

this is my CODE:

var app_doc_uid=XXXXXXXXXXXXXXXXX;
var del_index=1;

var requestYmc = $http({
method: 'POST',
url: $scope.serverUrl + $scope.workspace + '/oauth2/token',
data: $scope.credentials
requestYmc.success(function (html) {

$scope.AccessToken = html.access_token;
var requestZmc = $http({
method: 'DELETE',
url: $scope.serverUrl + 'api/1.0/'+$scope.workspace+'/cases/'+caseId+'/'+del_index+'/input-document/'+app_doc_uid,
headers: { 'Authorization': 'Bearer ' + html.access_token }
requestZmc.success(function (html) {



I recently completed a book on ProcessMaker - &quo[…]

Hi, In[…]

reopen form in the draft

Hi Admin, I use function:onDeleteRow on grid the[…]

Hi, since in no longer avail[…]