Cockpit is not showing latest changes


#1

Hi Camunda Team,

We have tried creating a sample flow and deployed the same on Tomcat by building the war .

The Cockpit is not showing the BPMN diagram.

Can anyone help on the same.?


#2

Can you post up the Model itself?


#3

SwiftPayment.bpmn (2.9 KB)

attaching BPMN model

Thanks for checking this Niall


#4

These are the steps i followed:

  1. created a bpmn diagram in camunda modeler.
  2. Saved the diagram under Eclipse -> SRC ->main --> resources folder.
  3. Run Pom.xml as maven install.
  4. Took the new war from maven folder and deployed in tomcat web apps folder.

Attacheing war file by renaming extention to .txt. Rename to war and extract.

loan-approval-0.0.1-SNAPSHOT.txt (5.5 KB)


#5

Hello

Your diagram is not valid so the eclipse is not able to upload your diagram. The Consume SWIFT notation is not set. You need to define a type of the notation such as Script task, (see the attached example)

Regards: Gábor
SwiftPayment.bpmn (3.0 KB)


#6

Hi Gabor,

I tried the file you shared.

  • Added to the resources folder under eclipse.
  • On pom.xml we performed a maven build.
  • Copied the generated WAR to webapps folder.
  • Started the tomcat.

We still don’t see the Diagram reflecting in cockpit.


#7

Hi @aqaadi,

It seems that the location of the processes.xml is not correct. The processes.xml should added to src/main/resources/META-INF folder 1.

Cheers,
Roman


#8

Thanks Gabor.

I added meta-inf folder.

I deleted the invoice app from web apps .
Deployed my war onto tomcat.

I still am not able to see my application process instance in cockpit

Regards,
Abdul Qaadir
575, Washington Blvd, Jersey City, NJ 07310
Cell (848)219-9369
Email: Abdul.qaadir@mphasis.com


#9

Hi @aqaadi,

Did you also add the processes.xml into the META-INF folder? Could you please share your resulting WAR file?

Cheers,
Roman


#10

Hi Roman,

yes we have added the META-INF with processes.xml.

Attaching the war.payments-system-0.0.1-SNAPSHOT.txt (4.7 KB)

Please rename the file type from TXT to WAR .


#11

Roman,

Did you get a chance to look into this ?


#12

Please be more patient. This is a free offering and sometimes people have more important things to do. Roman will surely get back to you.


#13

I totally understand.

Thanks for all support.


#14

Hi @aqaadi,

Does your process application class look as follows? Please note the @ProcessApplication annotation 1.

@ProcessApplication
public class PaymentsSystemApplication extends ServletProcessApplication {

} 

If it still does not work, could please share your entire project?

Cheers,
Roman


#15

Annotations were missing .

I can see my process instances now.

Thanks Roman !!