Page 1 of 1

Develop Android application to create new cases

Posted: Fri Apr 12, 2019 2:12 pm
by Raed95
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

Re: Develop Android application to create new cases

Posted: Sat Apr 13, 2019 11:21 am
by Raed95
Any ideas ? I seen something Dynaforms , is it related ?

Re: Develop Android application to create new cases

Posted: Mon Apr 15, 2019 10:54 pm
by amosbatto
Is your question about how to program an Android app? If so, then you should ask in a place like stackoverflow.

If your question is about which ProcessMaker REST endpoint to use, then after your user clicks on a process name (with its starting task name), then you can use that information to call this endpoint to create a new case:
New Case: POST /cases

Re: Develop Android application to create new cases

Posted: Mon Apr 15, 2019 11:02 pm
by amosbatto
If your question is how to dynamically generate a form in WebView in Android, then see:
https://developer.android.com/guide/webapps/webview