From a37a93a5964b8ba9bf3370643b7dd78f8eb3874f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Mon, 30 May 2022 08:28:50 +0200 Subject: [PATCH] Uninitialized constant CustomWorkflow::WorkflowError #261 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d84761a..1a1eefd 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Go to the *Administration* section, then select Custom workflows. A list Then click the Create a custom workflow button. Enter a short name and full description. Below you will see two textareas. Fill one or both textareas by Ruby-language scripts that will be executed before and after saving the issue (on before_save and after_save callbacks respectively). -Both scripts are executed in the context of the issue. So access properties and methods of the issue directly (or through keyword "self"). You can also raise exceptions by raise WorkflowError, "Your message". If you change some properties of the issue before saving it, it will be revalidated then and additional validation errors can appear. +Both scripts are executed in the context of the issue. So access properties and methods of the issue directly (or through keyword "self"). You can also raise exceptions by raise RedmineCustomWorkflows::Errors::WorkflowError, "Your message". If you change some properties of the issue before saving it, it will be revalidated then and additional validation errors can appear. Enabling custom workflows for projects -------------------------------