Error while importing

Hi ,

I have imported camunda webapp source code from github into my eclipse . Since the built path was not configured i cannot take references of method in java class . Then i had converted the project to project facet and configured as java project also i have tried to convert project into maven. For both cases i got a bunch of errors.

Kindly guide to setup the application locally

Regards
Ajr

Hi @Ajr,

the way I see it this is an eclipse question and should be asked in eclipse community. I can assist you with building camunda-webapp from the command line. You can then edit source files using any editor of your choice. Personally I can recommend you trying to use IDE which is less intrusive in project structure of maven projects in general, such as IntelliJ for instance, but this is my personal preference.

Cheers,
Askar.

Hi @aakhmerov ,

If i use text editor and built from command line i may not able to identify which class is depending on other. It will be very much difficult. I think you know that. Also am not familiar with Intellij IDE am using eclipse. So hoping some one can help me to resolve

Thanks
Ajr

Hi @aakhmerov ,

Can you please help me with some camunda code

return $resource(Uri.appUri(‘plugin://base/:engine/process-instance/:id/:action’), {id: ‘@id’}, {
query: {
method: ‘POST’,
isArray: true
},

I want to know where this request is hitting.

Thanks
Ajr

Hi @Ajr,

it points to following endpoint: https://docs.camunda.org/manual/7.5/reference/rest/process-instance/post-query/
Exact uri depends on your engine setup, you can see it on network tab of your browser in debug tools.

Does that help you?
Askar

Hi @aakhmerov ,

Thanks for your reply . It this request has any relation with org.camunda.bpm.cockpit.impl.plugin.resources.BaseRootResource class?

Hi @Ajr,

org.camunda.bpm.cockpit.impl.plugin.resources.BaseRootResource is a class that performs a setup of JAX-RS resources in a web application, among others it sets up org.camunda.bpm.cockpit.impl.plugin.resources.ProcessInstanceRestService, which handles this request. Would you mind describing the problem that you are trying to solve, may be I would be able to guide you in a proper direction faster.

Cheers,
Askar.

Hi @aakhmerov ,

What am trying is that to list all completed and running instance in cockpit(Better in tasklist if possible) . So i need to understand the code structure of camunda. First thing am trying to understand how this requesting is passing to the server…

From the path anotation i guess that some thing is happening on BaseRootResource class. But couldn’t got much idea on what is happening there. If it possible can you explain what it is calling after that to getting response.

Also i have see one processinstance.xml where some queries are written in it and not aware of it also …

Thanks
Ajr

Hi Ajr,

it sounds that cockpit-/tasklist-plugins may suite your use case better. Have a look at this tutorial: https://docs.camunda.org/manual/7.5/examples/tutorials/develop-cockpit-plugin/ or these docs: https://docs.camunda.org/manual/7.5/webapps/tasklist/tasklist-plugins/ and https://docs.camunda.org/manual/7.5/webapps/cockpit/extend/plugins/

Hope this helps,

Ingo

1 Like

Thanks for the reply @Ingo_Richtsmeier . Is there any API to retrieve completed user task form. ?

Have a look at these REST-APIs: https://docs.camunda.org/manual/7.5/reference/rest/history/activity-instance/

If you want to show the values the user entered, then try these additionally: https://docs.camunda.org/manual/7.5/reference/rest/history/variable-instance/

Cheers, Ingo

Hi may be am not looking into the one you refered. Iam using embeded forms. I want to show exactly the same rendered form in task list after completing the process instance along the data .