Jazz CMS Wiki
Home Page
All Pages
Categories
About Us
WiebeWorks
CMS
CMS Administration
GUI
Jazz
Jazz Administration
Jazz Web Parts
Library
misc
Roles
Solutions
Training
Web Parts
Web Service
Website Design
Website Procedures
Wiki conventions
WordML
Workflow Administration
Quick Search
»
Advanced Search »
Back
Jazz Rules
Modified on 2017/05/18 17:52
by
Charles
Categorized as
Jazz
,
Solutions
,
Workflow Administration
{toc} ===Overview=== Before we start looking at Jazz Rules, let's identify what a Rule is in general terms. ====What is a Rule?==== Definition: Rules describe the definitions, constraints, and operations that apply to an object. Consider the rule as a closed-ended question, i.e. the answer is yes or no. e.g. if the Time of Day is currently between 1 pm and 3 pm, or if the state of the object is currently 'Not started'. If the question is 'yes', then a set of operations or actions can be applied to the object. e.g. A use case for a meeting may be: if today is one day before the meeting, send an email to the meeting participants reminding them of the meeting. The constraint is 'if today is one day before the meeting' and the action is 'send an email to the meeting participants reminding them of the meeting'. What are the steps involved in 'executing' a rule? 1. Determine if the rule applies to the object. - Does this rule apply to this type of object. This is done by comparing the rule's definition to the type of object. 2. If the rule applies to the object, execute the constraints to determine the course of action. - This is done by reviewing the rule's constraints against the object. 3. Follow the course(s) of action. - this may consist of one or more steps, e.g. email or text me, set a specific property in the object to a result. Implementation: * Each rule consists of a container specific to a class of object that addresses one or more constraints (conditions). * Each condition has zero or more actions that are applied to the object. Example: * Joe has a task that is due on Thursday. * If the task is not finished, Remind Joe on Wednesday at 4pm that the task is due. ** 'If the task is not finished' is the condition. ** the reminder may be an email, a text message, a desktop notification. * If the task is not finished, Notify Joe on Thursday at 4pm that the task is not finished. * If the task is not finished, Notify Joe's Project Manager on Friday at 9am that the task is not finished. * If Joe completes the task, notify the Project Manager of the completion. ===Jazz Rules=== ((( <div class="imageleft"><img class="image" src="GetFile.aspx?File=/Jazz Images/RuleConditions.png" alt="Figure 3: Rule Conditions"><p class="imagedescription">Figure 1: Rule Conditions</div> <div class="imageleft"><img class="image" src="GetFile.aspx?File=/Jazz Images/RuleActions.png" alt="Figure 2: Rule Actions"><p class="imagedescription">Figure 2: Rule Actions</div> ))) ====Conditions==== <div class="image"><img class="image" src="GetFile.aspx?File=/Jazz Images/ConditionIfDayOfWeek.png" alt="Figure 3: If Day of Week Condition"><p class="imagedescription">Figure 3: If Day of Week Condition</div> <div class="image"><img class="image" src="GetFile.aspx?File=/Jazz Images/ConditionIfThenElse.png" alt="Figure 4: If then else Condition"><p class="imagedescription">Figure 4: If then else Condition</div>
Meta Keywords:
Meta Description:
Change Comment:
http://www.wiebeworks.com
- Wiki version 3.0.4.560.