AnsweredAssumed Answered

How to change who started a process?

Question asked by james.kleeh@gmail.com on May 8, 2017
Latest reply on May 9, 2017 by james.kleeh@gmail.com

Currently when I'm starting a process, I set the authenticatedUserId through the identity service. I would like to change who started a project (transfer ownership functionality). I have changed the identity links, however when querying process instances with `.startedBy()`, it still shows the old user as having started the process. Any help would be greatly appreciated.

 

Example:

 

historyService
        .createHistoricProcessInstanceQuery()
        .startedBy("OLDUSER")
        .unfinished()
        .list()

Thanks!

Outcomes