Share on ... Google+ Twitter LinkedIn Facebook Pinterest This is an old revision of the document! Custom Condition To use this block you need basic PHP development skills! if you use it wrong, you could break the workflow. This task will execute a custom Expression and continue the workflow with the path you set with return value. This task could be used to initiate $env variables, for example. The only requirement of this task is to return “yes” or “no” to define the output the workflow should take. Example 1 This example will init some variables and continue in any situation with the “true”/“yes” output. $env["variable"] = false; $env["variable2"] = 1; return "yes"; Example 2 $output = "no"; if($env["value"]["checkbox"] == "on") { $output = "yes"; } return $output; Discussion Real name: E-Mail: Address: Enter your comment. Wiki syntax is allowed: Please fill all the letters into the box to prove you're human. __ ___ _ __ ___ ____ __ / / / _ \ | |/_/ / _ \ / __/ / // / / ___/ _> < / ___/ / _/ \___/ /_/ /_/|_| /_/ /_/ Please keep this field empty: Subscribe to comments