Cozy triggers state doctype
Note: This doctype is only virtual. It is computed each time by agggregating informations about a trigger based on its jobs
io.cozy.triggers.state
The io.cozy.triggers.state doctype gather the data of a trigger from its jobs
status{string}: Global status of the trigger (queued,running,done,errored)last_success{timestamp}: Date of the last job in successlast_successful_job_id{string}: ID of the last job in successlast_execution{timestamp}: Date of the last executed joblast_executed_job_id{string}: ID of the last executed joblast_failure{timestamp}: Date of the last job in failurelast_failed_job_id{string}: ID of the last job in failurelast_manual_execution{timestamp}: Date of the last job manually executedlast_manual_job_id{string}: ID of the last job manually executedlast_error{string}: Content of the last error