Questions and discussion about using ProcessMaker: user interface, running cases & functionality
#823970
Hi,

I'am developing Android app using Processmaker API to create a simple android app to creating cases in a specified process.

I'm getting the list of the processes with this API :

GET http://process.isiforge.tn/api/1.0/isi/case/start-cases

after login, I show to users the name of the processes ("pro_title") , I want when a click on the name , the form to create a case using that process is implemented dynamically. Because the INPUTS can be changed

How can I implement that ?

Thanks
#823979
New Case

You have to send couple of request to the server, first request to create APP_UID, second request to get the dynaform fields, third request to get the dynaform variables:
Code: Select all
/api/1.0/workflow/cases/impersonate 
Data: 
pro_uid: {pro_uid}
tas_uid: {tas_uid}
usr_uid: {usr_uid}

Second Request:
Code: Select all
/api/1.0/workflow/project/{pro_uid}/activity/{act_uid}/steps
*This return the step_uid_obj, to proceed the second step 

Third:
Code: Select all
/api/1.0/workflow/project/{pro_uid}/dynaform/{step_uid_obj}
*This return JSON with dynaform fields 
Then:
Code: Select all
/api/1.0/workflow/cases/{app_uid}/tasks 

OPEN CASE:

Request to the server, first request to get the STEP UID, second request to get the dynaform fields, third request to get the dynaform data:
Code: Select all
/api/1.0/workflow/project/{pro_uid}/activity/{act_uid}/steps
*This return the step_uid_obj, to proceed the second step 
Code: Select all
/api/1.0/workflow/project/{pro_uid}/dynaform/{step_uid_obj}
*This return JSON with dynaform fields 
Code: Select all
/api/1.0/workflow/cases/{app_uid}/variables
*This return JSON with dynaform data 

DO we have to pay tax for trade https://www.getfir[…]

Mosquito Zapper Reviews

https://www.facebook.com/sammosquitozapper https:[…]

https://www.facebook.com/sammosquitozapper https:[…]

Are you looking for a simple method to import EML […]