32
© 2010 Dovetail Software Inc. Advanced Rulemanager & Business Rules Join the conversation: http://backnoise.com/?rulemanager

Advanced business rules (part1)

Embed Size (px)

Citation preview

Page 1: Advanced business rules (part1)

© 2010 Dovetail Software Inc.

Advanced Rulemanager &Business Rules

Join the conversation: http://backnoise.com/?rulemanager

Page 2: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

BackChannel

Join the conversation:http://backnoise.com/?rulemanager

Page 3: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Me

Gary Sherman, Clarify

Page 4: Advanced business rules (part1)

© 2010 Dovetail Software Inc.

RULE PROPERTIES

Page 5: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties

Rule properties are used for:

• Variables Within Action Messages• Conditions• Recipients

Page 6: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties – in Clarify Client

Policies and Customers

- Setup - Rule Properties

Page 7: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Business Rules- Rule Properties

Rule Properties – in

Dovetail Admin

Page 8: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Variable

Event: A case is dispatched to a queueCondition: Priority = HighAction: Notify the queue membersMessage: Case [ID Number] has been

dispatched to the [Current Queue] queue.

Page 9: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Variable

Name: ID NumberObject Type: CasePath: id_numberSubtype: PropertyMax Length: 100Value Type: Variable

Page 10: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Variable with Path

Name: Current OwnerObject Type: CasePath:

case_owner2user:login_nameSubtype: PropertyMax Length: 100Value Type: Variable

Page 11: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Standard Property

Name: Current OwnerObject Type: CasePath:

case_owner2user:login_nameSubtype: PropertyMax Length: 100Value Type: Standard Property

Can be used as a condition, or in the message

Page 12: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Business Rule Condition

Event: A case is dispatched to a queueCondition: Current Owner = fredAction: Notify the queue membersMessage: Case [ID Number] has been

dispatched to the [Current Queue] queue.

Page 13: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Standard Property

Name: Current OwnerObject Type: CasePath:

case_owner2user:login_nameSubtype: PropertyMax Length: 10Value Type: Standard PropertyExtra Info:

Page 14: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Condition as List

Event: A case is dispatched to a queueCondition: Priority = HighAction: Notify the queue membersMessage: Case [ID Number] has been

dispatched to the [Current Queue] queue.

Page 15: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: List

Name: PriorityObject Type: CasePath: respprty2gbst_elm:titleSubtype: PropertyMax Length: 10Value Type: ListExtra Info: Response Priority Code

Page 16: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Recipient AliasesName: Case Owner’s SupervisorObject Type: CasePath:case_owner2user:user2employee:emp_supvr2employee:employee2user:login_nameSubtype: Alias

This will resolve to 1 login_name

Page 17: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Recipient AliasesName: Queue MembersObject Type: CasePath:case_currq2queue:queue2user:login_nameSubtype: Alias

This will resolve to many login_names

Page 18: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Focus_Obj

Name: LoggerObject Type: CasePath:

focus_obj2act_entry:act_entry2user:login_name

You won’t find this relation in your schema!

Page 19: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties :: Where Clause

Name: Contact’s Primary SiteObject Type: CasePath:case_reporter2contact:

contact2contact_role(primary_site=1):contact_role2site:name

Page 20: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Condition:: Variables on both sides

Event: Log NoteCondition: Logger != [Current Owner]Action: Notify the case ownerMessage: A note was logged to your

[Object Type] [Object ID] by [Logger]

Cool

Trick

Page 21: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Rule Properties: Better Naming

Baseline Property Name: Object IDBaseline Property Name: Database ID

Create new ones with better names

Property Name: Case ID NumberProperty Name: Objid

Tip

Page 22: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Persistence

Rule Properties are stored in the prop_name table

Use the UI for CRUD of properties

Page 23: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Intrinsic Properties

• There are properties that you won’t find listed in the rule properties UI or in the prop_name table

• These are built-in / hard-coded / intrinsic properties

• Very commonly used• Safe to use

Page 24: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Intrinsic Properties

• CURRENT QUEUE MEMBERS• CURRENT QUEUE SUPVSR• DISPATCH DATE-TIME• ACCEPT DATE-TIME• CURRENT DATE-TIME• OBJECT TYPE• CONTACT• CC LIST1 and CC LIST2• …

Page 25: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Enough slides!

Lets see some action…

Page 26: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

A better way to view your schema

BOLTBrowser-based OnLine ToolAwesome product. Not so awesome name.Real-Time Schema Viewer – including your

schema customizations.It’s freehttp://clarifytoolbox.com/products/bolt

Cool

Tool

Page 27: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Lets see some BOLT action…

Page 28: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Viewing / Searching Business Rules

Can view using Clarify ClientCan also view/search using BOLTBetter filteringView many at onceDid I mention it’s free?http://clarifytoolbox.com/products/bolt

Cool

Tool

Page 29: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Lets see some more BOLT action…

Page 30: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Learn More

Wiki:http://rulemanager.wikispaces.com/

Page 31: Advanced business rules (part1)

© 2010 Dovetail Software Inc.Join the conversation at: http://backnoise.com/rulemanager

Next Session: Advanced Business Rules(Part 2)

• User-defined Business Rule Events• Business rules based on custom object types• New Event Creation Times and Calendars• Custom Notification Methods• Time Bombs• More Tips & Tricks• Troubleshooting• etc.• …

When: Thursday, July 29, 2010 11:00 AM - 12:00 PM CDTRegistration link is on dovetailsoftware.com and on my blog.

Page 32: Advanced business rules (part1)

© 2010 Dovetail Software Inc.

Questions, Comments, Queries?

http://backnoise.com/?rulemanager