Status: Resolved (View Workflow)
Clone Branch: pm-trials from https://github.com/prattyushmangal/kogito-examples/tree/pm-trials/serverless-workflow-callback-quarkus Uncomment lines: https://github.com/prattyushmangal/kogito-examples/blob/pm-trials/serverless-workflow-callback-quarkus/pom.xml#L35-L38 Run mvn clean compile quarkus:dev See error
- Clone Branch: pm-trials from https://github.com/prattyushmangal/kogito-examples/tree/pm-trials/serverless-workflow-callback-quarkus
- Uncomment lines: https://github.com/prattyushmangal/kogito-examples/blob/pm-trials/serverless-workflow-callback-quarkus/pom.xml#L35-L38
I am deploying my SWOrchestration Microservice as Knative/ScaleToZero and it includes a Async Call, which it has to wait for before the Orchestration is considered complete.
While waiting for this Async call, the SWOrch is scaled to Zero. For it to re-scale to 1 and resume the workflow instance upon reciept of the Async Call, I need to setup Data Persistence to store and retrieve the Workflow Process Instance ID.
Next: I am trying to add in Data Persistence via Mongo DB but am failing to make it work. I have so far:
- Added the Pom Dependency
- Added in the Application Properties to my MongoDB Server
I hit the error:
Which suggests that the Required proto is failed to being generated, meaning that the MongoDB is not storing my Process Instance.