Followup Calls for Birthday Calls Where the Result Is No Reach
This workflow rule is triggered when a producer calls a lead or client through a birthday call and then updates the Call Result field in the Task edit page to No Reach. The workflow rule creates a review call followup task for the following workday.
Workflow Rule Details
This topic describes the details of the workflow rule.
Record Type
The record type is an Activity record.
Trigger Event
The trigger event is when Modified Record Saved.
Rule Condition
The Workflow Rule Condition field contains the workflow rule condition.
Enter the following expression in the Workflow Rule Condition field:
[<Type>]=LookupValue("TODO_TYPE", "Birthday Call") AND [<CallResult>]=LookupValue("OD_CALL_RESULT",
"No Reach") AND PRE('<CallResult>') IS NULL
Workflow Action Details
This topic describes the details of the workflow action.
Action Type
The action type is Create Task.
Task Type
The task type is a Review Call.
Due Date
The Due Date field contains a numeric value that is calculated by adding the value in this field to the date on which the task is created.
Enter the following expression in the Due Date field:
IIf((IfNull(Mid(1.0 * JulianDay(Today()+1)/7, 8, 1), "0")>="7"),IIf((IfNull(Mid(1.0 * JulianDay
(Today()+1 )/7, 8, 1), "0")="7"),Today()+3,Today()+2),Today()+1)
Subject
The Subject field contains the subject line for the task. You can embed functions and field names in the text. Three percent signs (%%%) before and after an embedded function or field name indicate that it is to be converted to a string.
For more information about expressions, see Oracle CRM On Demand Online Help.
Enter the following expression in the Subject field:
%%%LookupValue("TODO_TYPE", "Review Call")%%%-%%%IIf([<PrimaryContactId>] <> "No Match Row Id",
JoinFieldValue('<Contact>',[<PrimaryContactId>],'<ContactFullName>'),JoinFieldValue('<Lead>',
[<LeadId>],'<LeadFullName>'))%%%