added process ids to a file before workflow run