add status file to workflow.R (redmine #1924)