| 205 | } |
| 206 | |
| 207 | void WorkflowJSON_Impl::start() { |
| 208 | m_value["started_at"] = DateTime::nowUTC().toISO8601(); |
| 209 | m_value["current_step"] = 0; |
| 210 | for (auto& step : workflowSteps()) { |
| 211 | step.resetResult(); |
| 212 | } |
| 213 | onUpdate(); |
| 214 | } |
| 215 | |
| 216 | unsigned WorkflowJSON_Impl::currentStepIndex() const { |
| 217 | Json::Value defaultValue(0); |
no test coverage detected