AnsweredAssumed Answered

Get diagram of process before completed

Question asked by nhhao1996 on Feb 19, 2019
Latest reply on Feb 22, 2019 by nhhao1996

Hi everyone!

3 days ago I asked a question about get image of process diagram but maybe my question is not clear to you.

After research, I will summary my problem like this:

- Because when process completed, I can't use http://localhost:8080/activiti-rest/service/runtime/process-instances/proc-inst-id/diagram to get the process diagram with hightlight current task anymore.

- So, I add a service task before end task to get process instance id, then assign it to that link to get image of process diagram and save it to use later.

Now my problem is I really don't know how to code to get process instance id and call api in java class to assign it to service task. Can you help me?

Outcomes