I am trying to figure out a workflow engine that suits our needs. We are building Spring boot application with angular 4 in front end. I tried Camunda BPMN and everything worked like a charm now when I am trying to integrate Flowable with spring boot it throws an error while generating authentication code. The code is exactly same that was used with camunda.
Do you have a stacktrace where this exception is being thrown from? The “{“error”: “invalid_grant”,“error_description”: “Bad credentials”}” seems to be from a REST endpoint?
An example on setting up a basic project can be found here:
Try to remove all the spring-boot dependencies except the the org.flowable:flowable-spring-boot-starter-basic:6.2.0. It should boot up without error.
I am using OAuth2. This works when I remove flowable and use Camunda dependency and I get access token in response. It also works without any workflow engine integrated. This was basic setup that we did initially. But after adding Flowable dependency, it throws an error.
o.s.s.a.dao.DaoAuthenticationProvider : User ‘john’ not found
o.s.s.o.provider.endpoint.TokenEndpoint : Handling error: InvalidGrantException, Bad credentials
.m.m.a.ExceptionHandlerExceptionResolver : Resolved exception caused by Handler execution: error=“invalid_grant”, error_description=“Bad credentials”
This AutoConfiguration is part of the basic starter and by the spring security jars on the classpath, it kicks in.
However, since you’ve got a fullblown Oauth2 server, this security config is not needed. Can you try this assumption, and exclude it from loading, like
Can I use workflow model designed in Camunda modeler and use it in flowable??
Does flowable have desktop modeler to design the workflow ??? just because I designed the entire workflow model using camunda designer and It was a great experience but when I see the plugin…its not that cool…
If camunda modeler generates bpm in BPMN2.0 you can import the workflow model,
We sometimes design the initial flow in third party tool(that generates bpmn2.0 ) and then later import it to flowable modeler.
AFAIK flowable doesnt have a desktop modeler, but you can download the flowabl-modeler and run it as a spring boot application or in an application server like tomcat https://www.flowable.org/downloads.html