Spring boot with Angular UI

Hi,

I am new to Spring boot. Can anybody please suggest how to invoke a Camunda Java api call from Angular Ui.Any sample would be helpful

I am not looking out to invoke REST call,more interested in invoking a Camuna Java api directly. Please help.

This documentation should help you out:https://docs.camunda.org/manual/7.8/user-guide/spring-boot-integration/rest-api/

Then end point you’re looking for, if you’re running it locally is http://localhost:8080/rest/engine.

Thanks Niall but i am still confused as to how to invoke a Camunda Java API directly from the Angular UI in spring boot instead of making the REST API call. Can you please share a few lines of code ,it would be really helpful.Thanks

What have you tried so far?
What problems are you experiencing?
What exactly are you trying to do?

I have tried building a custom screen using Angular UI and used the REST API on button submit to start the process.

I just want to know how to implement the below call in Angular UI code i.e directly invoke a Java API instead of REST call

<h:commandButton id=“submit_button” value=“Submit Request” action="#{camundaTaskForm.completeProcessInstanceForm()}" />

You only need to use some boiler-plate JavaScript to make the rest call - the camunda specific calls you’ll need to make are:

  1. Query for the specific task you want to act on via Get Task
  2. Complete that task with the ID returned in the first call via the Complete call

Thats how most UI’s integrate with Camunda