Hello,
After creating a model, when trying to publish an application in flowable-modeler, we have the following error:
Invalid deploy result code: HTTP/1.1 500
Please, we need your help urgently.
Regards
Hello,
After creating a model, when trying to publish an application in flowable-modeler, we have the following error:
Invalid deploy result code: HTTP/1.1 500
Please, we need your help urgently.
Regards
Make sure you also deploy flowable task app because modeler user task app API for deployment.
Make sure your process is error free, like no obvious syntax error.
if both doesn’t help, please share error stack trace from log.
Thanks,
Dear Herve,
I faced this problem many times usually when trying to use the “candidate group” feature. It sometimes work and sometimes throw this error. In case you’ve set your process up with a candidate group, try to remove it and see if it helps with the publication of the app.
Cheers,
Julien
I am new to Flowable and I was just going through this [Instant Gratification with Flowable 6 | These are my principles](
Instant Gratification with Flowable 6
), did exactly what was shown but, still I got this error when publishing the app and I didn’t find any reference of deploying flowable task app…please let me know what I am missing.
Hi,
Are you using the 6.4.1 download or building from the current code?
Cheers
Paul.
Hi,
I am using 6.4.1 download.
2019-06-17 14:49:17.203 ERROR 13352 — [nio-8080-exec-6] o.f.u.m.s.AppDefinitionPublishService : Invalid deploy result code: HTTP/1.1 500 http://localhost:8080/flowable-task/app-api/app-repository/deployments?deploymentKey=gigapp&deploymentName=Gig+App for url
is what I got after selecting publish.
On going to localhost:8080/flowable-task, It shows the task app running and on going there, it shows the task which I have created.
Looks like there was some logic error in process, due to which I kept getting this error, it is solved now.
Hi,
Are you sure you have the Flowable Task application running on localhost port 8080 in the flowable-task context root?
Best regards,
Tijs
Hi,
Nope, I am not sure if I have Flowable Task application running on the localhost port 8080.
I was following along with the https://paulhh.wordpress.com/2017/01/31/flowable-6-instant-gratification/, from there I just created a task, created a process, while publishing the process, I got this error, you can see in the link, if something is missing that I need to add, I looked over it again, but I can see I have followed all the steps till “Creating the process app”.
Error starts with something like this:
2019-06-17 15:19:59.764 INFO 13352 --- [nio-8080-exec-9] o.f.e.l.j.c.BpmnJsonConverter : Skipping edge sid-4022A4A3-2E16-4BB6-A6FB-2186E7C12E9B because source ref is null
2019-06-17 15:20:00.201 INFO 13352 --- [nio-8080-exec-6] o.f.a.e.i.d.AppDeployer : Processing app resource gigapp.app
2019-06-17 15:20:00.202 INFO 13352 --- [nio-8080-exec-6] o.f.e.c.i.d.BpmnDeployer : BpmnDeployer: processing resource gigplan.bpmn
2019-06-17 15:20:00.666 ERROR 13352 --- [nio-8080-exec-6] o.f.e.i.b.d.ParsedDeploymentBuilder : Could not parse resource gigplan.bpmn
org.flowable.bpmn.exceptions.XMLException: cvc-complex-type.4: Attribute 'sourceRef' must appear on element 'sequenceFlow'.
at org.flowable.bpmn.converter.BpmnXMLConverter.convertToBpmnModel(BpmnXMLConverter.java:274) ~[flowable-bpmn-converter-6.4.1.jar:6.4.1]
at org.flowable.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:148) ~[flowable-engine-6.4.1.jar:6.4.1]
Full stack trace exceeds the maximum allowed characters
On going to localhost:8080/flowable-task/, It shows the task app running and on going there, it shows the task which I have created.
What happens if you just enter the URL http://localhost:8080/flowable-task into your browser?
It should show the Flowable Task app. Just trying to confirm the Task app is running first. You should be able to create a task manually, but there won’t be any processes to start.
Cheers
Paul.
My guess is that you have an extra sequence flow (arrow) in your model. Or you’ve inadvertently unlinked a sequence flow from its destination. Try moving each of your processes, gates, and start/end events in the modeler and see if there is a sequence flow that is detached.
Will
I am getting same issue. Please let me know if you got the solution?
validate the workflow once if it has any error or not