API --> Could 'Message' set for not started and/or working process?

We can set message in process. However I want to set message before process and/or while process is running. Is it possible to change it?


I want to set message which is responsed while process has been working and/or before process is not be started.