About Dovetail

Read more about Dovetail Software and our HR applications that will transform your Employee and HR Experience
Overview
Request Demo

Our Story

With over 20 years of
CRM & HR experience...
Read on >

Our People

The Dovetail culture code
is our key to success
Discover >

Partners

Working with the best
partners around the globe
Learn more >

Careers

Fancy a career with Dovetail?
If you are a rockstar...
Join us >
Dovetail Flair

Why Us?

The easiest to use HR Case Management & Employee Portal solution for your business
Benefits of Dovetail HR Service Delivery

Our Difference

The Dovetail difference
is what sets us apart
Read on >

Our Customers

Learn more about our customers
and why they chose Dovetail
Discover >

Implementation & Support

Hear how we delight our
customers right from the start
Learn more >

Our Innovation

The Dovetail innovation team
is at the forefront of technology
Explore >
Dovetail Flair

Our Solutions

We create HR Case Management Solutions that are tailored to your needs

HR Transformation

You're embarking on
your HR Transformation
journey, see how Dovetail..
Read on >

HR Shared Services

Find out more about
our Workday Select
Partner Certification
Learn more >

Employee Relations

Learn how Dovetail helps
you track your employee
relations cases
Find out more >

Workday Customers

Find out more about
our Workday Select
Partner Certification
Learn more >

HRIS

Manage and track
technical questions
from your HR team
Discover >

Clarify Customers

Breathe new life into your
Amdocs Clarify system with
our technology and services
Find out more >

Learn

Discover new insights and thought leadership content to help you continuously improve your HR Service Delivery

Blog

Stay updated on HR
Shared Services with insights
from the Dovetail community
Join the conversation >

Events & Live Shows

Meet the Dovetail team at
leading industry events
and live shows
Meet us >
Dovetail HR Dog
Dovetail Flair

Dovetail for Clarify

2 min read

Notify the case owner when someone else logs a note to their case

May 7, 2008 11:55:58 AM

In a previous post, we learned how to use a variable on either side of a business rule condition. Now, we'll create a business rule that uses this type of condition.

User Story

We'll start with a story:

As a case owner, I want to be notified when someone else logs a note to my case, so that I can be kept informed of any activity on my cases.

The business rule

Here's the business rule which satisfies the user story.

Object Type: Case
Rule Name/Description: Notify the owner when someone else logs a note to their case
Start Events: Log Note
Cancel Events: None
Conditions: Logger != [Current Owner]
Action Title: Notify  Owner
Who to Notify: [Current Owner]
Start Action: 0 minutes
From: Event Creation
Using: Elapsed Time
Repeat : Never
Message:

RE: A note was logged to [Object Type] [Object ID] by [Logger]

A note was logged to [Object Type] [Object ID] by [Logger]

Case Title: [Title]

You are being notified because you are the owner of the [Object Type].

Notes that were logged:
[Notes] 

The rule condition

Look at the condition:

Logger != [Current Owner]

Notice that each side of the condition is actually a rule property that gets evaluated at runtime.

The message

Notice that the message includes the actual notes that were logged by using the [Notes] variable.

This is not a baseline variable, its a custom one. I created this using the Business Rule Properties UI in DovetailAdmin:

Notice the "focus_obj2act_entry" part of the path. If you look at your schema, you won't see this relation defined anywhere. This is a special, virtual relation that Rulemanager knows how to handle. It knows how to translate "focus_obj2act_entry" into the actual relation based on the Object Type.

For example, for a Case, it translates focus_obj2act_entry to case_act2act_entry. For a subcase, it translates focus_obj2act_entry to subcase2act_entry. Etc. This is useful when you have one property that needs to work for multiple Object Types, such as "Case-Subcase", which means that this one property is for both cases and subcases. Kinda hokey, I know. 

Test

Start RuleManager, Open DovetailAgent, login as fred, log a note to a case (that is owned by gary), and I (gary) am immediately notified.

My notification preference is currently set to Email, so here's the email I received:

 

Summary

  • We've created a business rule that notifies the case owner when someone else logs a note to their case
  • Our business rule condition uses variables on both sides of the condition operator
  • We've created and used a custom business rule property that allows us to include the text of a Log Note in a rule message

Rock on.

Gary Sherman
Written by Gary Sherman

Post a Comment

Featured