Use Camunda with external system

Hi,

I am try to use camunda for workflow management where rest of the business will be in external system, i would like to use the Rest API for this communication.(i gone thorugh external task service in camunda but it doesnt fit my following needs).

a) Retrieve Current node name , its parent node name, and all possible child node names through rest.

b)Retrieve current taks based on processInstance id .

Thanks

Hi,

I am not sure if I understood your scenario completely, however I believe that might be helpful:
a) https://docs.camunda.org/manual/7.8/reference/rest/process-instance/get-activity-instances/ - “Retrieves an Activity Instance (Tree) for a given process instance by id.”
b) Try the following query https://docs.camunda.org/manual/7.8/reference/rest/task/get-query/ with processInstanceId parameter.

Best regards,
Yana