How to set process StartTime

Hello,

I wonder how to set process start Time. I’m setting business key in Execution Listener end : script like that:

execution.setProcessBusinessKey("nrTeczki"+nrteczki);

But I’m unable to set process start time. Can anyone tell me how to do this in Listener?

Best regards,
Kasia

Hello,

Process start time is recorded when you actually start the process instance. You can’t change that after you start process. If you want process definition to be started at specific or regular intervals, you can use timer start event.

2 Likes

Hi @shamil thanks for your anawear. But if a start time is set at a process start than why can’t I see it in camunda admin ? I have attached a screenshot at my first post.

Hi @katarzyna,

usually the time is set:

Could you see any erros in the web console of the browser?
What database and which history level do you use?
Did you change the dateformat setting? (Date Format | docs.camunda.org)

Hope this helps, Ingo

Hi @Ingo_Richtsmeier ,

no, I don’t see any errors.


That’s my reponse from loading processes in camunda-admin.

I use PostgreSQL. History level is set to full.

How to retrieve process start time from within a process?