what are the basics lines of code to get the ProcessInstance object from RuntimeService in external task topic of camunda.
Help
Hi @fromAfrica ,
If you are running the Platform with the SwaggerUI accessible, you can go to http://localhost:8080/swaggerui and have complete access to the entire API in real-time.
Each API endpoint will allow you to make a call against it live, and receive results. Along with those results is the curl command to access the endpoint from the command line.
Now, for basic lines of code, you’d have to pick what language you would like to use first, as Camunda supports several.
If you’re looking for a short-cut, you can always use an API client like Postman which will allow you to make the API calls you want, and can then generate code in a variety of languages to access that API.
Hope this help,
dg
thanks @davidgs , i use java as language , i will control the methods so i need to know how are basic lines of code to execute
Have you read through the user guide? Have you worked through the getting started guide? Have you watched any of the excellent getting started tutorial videos?
There are a number of ways to interact with the platform via Java so I’d highly suggest going through the documentation for whichever method you choose (Spring boot application, API Client, etc.)
Best Regards,
dg