From the /incident API, I retrieve a list of incidents, each having an activityId field.
From this activityId (such as “Activity_080808”), I would like to retrieve the activity name, which is displayed in the renderer.
Unfortunately I cannot find any API that would help me to get that.
You are right, that activityID can be multiple symbols. I am not sure if there is a way to find out the activity type by having the activity ID. It would either relate to a usertask (task) an external task or a job in the database.
I think in order to make a GET call you would need to know if you are looking for a usertask, an external task or a job.
Thanks for your help Nele. Well, it looks like the most viable way to go is to query the BPMN diagram to find the activity matching the ID, and from there, get its name. This will have to be client-side, so if anyone sees a way to make it server-side, I would appreciate.