writeProcessId is mandatory.