Method execute within function service spring

hello community, i’m beginner in camunda , how can i insert a method of execute external task in service method spring?

@fromAfrica could you provide more details what you’re trying to achieve?

i have a service method call addMember in my spring application how i can i use camunda for this service? start an instance, fetch and complete for this service

@fromAfrica Yes. you need to start a instance. And handling service task can be done in delegates or external task pattern. If you’re looking for external task pattern here’s some references.

https://docs.camunda.org/manual/7.16/user-guide/process-engine/external-tasks/

i will try this solution

how to start an instance i have message error process engine is null

Could you provide the exception stack trace?