Simulate runned process in history

Is it possible to insert an already runned process in the history for testing ?

The scenario to test is:

1.Creating a process which runned more than x days ago
2. Clean up history
3. see if process is removed from history

Hi @Arne_Zelasko,

there are several ways to do this. E.g. you could use Java API. You can have a look at HistoryCleanupTest

You could put the code that creates the instances in Process Application in @PostDeploy method. And then after they are created, call History Cleanup via REST API.

Yes this helped much, thank your for the hint !