How can you implement a condition in a workflow?
You can implement a condition by using either of the following ways:
By creating a rule condition - Specifies that you can execute conditions either directly in code or by using a tool, called the Rule Condition Editor. Rule conditions are kept in a separate Extensible Markup Language (XML) file. When a rule condition happens in a workflow, the expression in a condition is assessed and a Boolean value is returned.
By creating a code condition - Refers to defining a condition directly in code. A code condition can be formed by writing a method in the code. The method having code for the condition and returns a Boolean value.