How to import print-engine-core in Camunda?

I have a feature that needs pdf file generated by Print Engine in Workflow Camunda.
When I try to import implementation a12Libs.print.engine.core (0.202206000.5) in gradle of camunda, then I got an error

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.mgmtp.<PROJECT_NAME>.workflows.camunda.CamundaApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'authorizationAutoConfiguration' for bean class [com.mgmtp.a12.uaa.authorization.autoconfigure.AuthorizationAutoConfiguration] conflicts with existing, non-compatible bean definition of same name and class [com.mgmtp.a12.workflows.uaa.AuthorizationAutoConfiguration]
	at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:189)

But I can do it in data-service.

How can I do it in Camunda? Do I need any other dependencies?

Do you really need the pdf generation directly in camunda? Can’t you just orchestrate dataservices from camunda to generate the pdf you need and then work with the attachment url of that pdf in your camunda workflow for example?

Hey @anh-round-summit,

The old Version of the PrintEngine you are using is not intented to be used as Library as it has deep DataService Integration.
If you really need to print within your workflow engine instance, which might not be good idea due to performance, you should wait for the new upcoming Release of the PrintEngine which is a complete overhaul and refactoring that is intented to be used as Library and would allow you integrate it into any java application.

Thank you for your information.
Now I can get a pdf file by using RpcOperationsClient to call dataservice instead import Print Enginee into Camunda.