You are on page 1of 8

Requirement: When an Activity is exceeds the planned start date, the reminder (i.e.

) Email is send to the owner of the activity. Steps to setup the Email notification: To sending email the Communications ena"led. #erify the Communications anagement Component !roup must "e anagement Component !roup is ena"led or ap& Administration ' %erver

not. $f not ena"led go to the application and go to %ite component group and ena"le. Create a Communication Profile: To sending email must create a communication profile. !o to the application and go to %ite

Configuration& Enterprises. %elect the Component !roups Ta" and select the

ap& Administration ( Communications&

Communications )rivers and *rofiles. %elect the $nternet % T*+*,*- %erver Communication )river in the a"ove applet. Create *rofile in the second applet. !ive the *rofile .ame / Email. !ive the profile parameters as follows0

.ame 2rom Address % T* %erver % T* Account .ame SMTP ccount

#alue Give any Email Id Give particular SMTP Server Give particular SMTP Name Give particular SMTP Pass!ord ccount ccount

Pass!ord

Note: !ive this profile name to the Comm*rofile $nput Argument in the ,ut"ound Communications anager 1usiness %ervice.

"or#flo! Process: Wor3flow process is used to send an Email using the 1usiness %ervice. %end the Email to the particular owner so 4uery the owner Email($d using the 4uery %ie"el ,peration. "or#flo! Process $ %: Create the wor3flow process to 4uery the ,wner Email($d. This is the %u"(*rocess of the "or#flo! Process $ &. Create a new Wor3flow *rocess using %ie"el Tools. !ive the following property values o o o o *rocess .ame Wor3flow *ro6ect / W2 for 5uery ,wner Email $d

ode / %ervice 2low / Wor3flow

1usiness ,"6ect / Contact

Create one *rocess *roperty to retrieve the Email($d and process as ,utput Arguments. *rocess *roperty .ame as 7Email $d8. )esign the Wor3flow shown "elow

%et the %ie"el ,peration step to 5uery the particular Email($d. o o 1usiness Component / Contact ,peration / 5uery

9ight clic3 the %ie"el ,peration step and clic3 the %how ,utput Arguments and set the followings *roperty .ame Email Id Type 'usiness 1usiness Component .ame Contact 1usiness Component 2ield Email ddress

Component 9ight clic3 and select the #alidate to validate the process. !ive the 9ow $d to the ,"6ect $d:s )efault %tring field and %imulate the Wor3flow *rocess to chec3 the *rocess *roperty 7Email $d8 is retrieve the Email Address or .ot. )eploy the Wor3flow *rocess. .ow the Wor3flow *rocess is %tored to the 9epository Ta"les.

!o to the application and go to %ite

ap& Administration ( 1usiness

*rocess& Wor3flow )eployment. 5uery for the Wor3flow *rocess we Created and Activate this to using the Activate 1utton on the a"ove applet. .ow only the Wor3flow *rocess is loaded to the 9untime Ta"les. "or#flo! Process $ &: Create the Wor3flow *rocess to sending Email to the ,wner of the Activity. Create a new Wor3flow *rocess using %ie"el Tools. !ive the following property values o o o o *rocess .ame Wor3flow *ro6ect / W2 for %ending Email

ode / %ervice 2low / Wor3flow

1usiness ,"6ect / Action

Create two *rocess *roperties to retrieve and process as $nput+,utput Arguments. ;. .ame <. .ame / ,wner 9ow $d / ,wner Email $d

)esign the Wor3flow shown "elow

%et the %ie"el ,peration step to 5uery the particular Email($d. o o 1usiness Component / Action ,peration / 5uery

9ight clic3 the %ie"el ,peration step and clic3 the %how ,utput Arguments and set the followings *roperty .ame (!ner Type 'usiness 1usiness Component .ame ction 1usiness Component 2ield Primary (!ner

Ro! Id Component Id $n the %u" *rocess step set the %u"process .ame / W2 for 5uery ,wner Email $d. 9ight clic3 the %u" *rocess step and clic3 the %how $nput Arguments and set the followings %u"process $nput ()*ect Id Type Process Property *roperty .ame (!ner Ro! Id

9ight clic3 the %u" *rocess step and clic3 the %how ,utput Arguments and set the followings *roperty .ame (!ner Email Id Type (utput %u"process ,utput Email Id essage to the particular Email($d. anager

r+ument %et the 1usiness %ervice step to %end o o 1usiness %ervice .ame 1usiness %ervice

/ ,ut"ound Communications

ethod / %end essage

9ight clic3 the 1usiness %ervice step and clic3 the %how $nput Arguments and set the followings $nput Argument Comm*rofile sg%u"6ect sg1ody Type =iteral =iteral =iteral #alue Email >i this is from %ie"el Activity. >i you forget one scheduled activity. sgTo=ist ProcessMode *rocess *roperty ,iteral ( Remote (!ner Email Id $ ( ( *roperty .ame $

)eploy the Wor3flow *rocess. .ow the Wor3flow *rocess is %tored to the 9epository Ta"les. !o to the application and go to %ite ap& Administration ( 1usiness

*rocess& Wor3flow )eployment. 5uery for the Wor3flow *rocess we Created and Activate this to using the Activate 1utton on the a"ove applet. .ow only the Wor3flow *rocess is loaded to the 9untime Ta"les. 2or invo3ing a Wor3flow *rocess through Wor3flow *olicy Create a *olicy !roup, *olicies, and Actions. Create *olicy !roup go to the application and go to %ite Administration ( 1usiness *rocess& *olicy !roups. o .ame / Email %ending ap& Administration ( ap&

Create *olicy go to the application and go to %ite 1usiness *rocess& *olicies. o o o .ame / Email *olicy

Wor3flow ,"6ect / Activity *olicy !roup / Email %ending

Create Conditions for the *olicy. When the conditions are met this policy was trigger. Condition 2ield Activity Type Activity %tatus ctivity Start /ate ,peration 0#alue Call .ueued Current $ %:1:1

Create the Action for this *olicy go to the application and go to %ite Administration ( 1usiness *rocess& Actions. o o o .ame *rogram / Email Action / 9un Wor3flow *rocess

ap&

Wor3flow ,"6ect / Activity

$n the Arguments =ist Applet give the following arguments. o o Argument #alue / *rocess.ame / W2 for %ending Email

!o "ac3 to the *olicies view and 4uery the policy we created and set the Action we created in Actions applet (-rd).

Create and Run a *o) for Generate Tri++ers: When the *olicy Conditions are created or updated the !enerate Trigger Component must "e run. !o to the application and go to %ite ap& Administration ' %erver anagement& ?o"s. Create new 6o" for the component !enerate Trigger. %et the parameters in the parameters list applet as follows. o o o o E@EC *rivileged Aser *rivileged Aser *assword 9emove / True / %$E1E= / %$E1E= / True

Clic3 the %tart "utton to run this 6o". When it is successfully completed the triggers are removed. To generate the new triggers must create a new 6o" for the !enerate Trigger Component as follows. o o o o E@EC *rivileged Aser *rivileged Aser *assword 9emove / True / %$E1E= / %$E1E= / 2alse

Clic3 the %tart "utton to run this 6o". When it is successfully completed the new triggers are generated successfully.

Create a "or#flo! Monitor

+ent:

Wor3flow *olicy !roups are invo3e and handled "y the Wor3flow invo3e the policy group (we created) to create a new Wor3flow !o to the application and go to %ite the Wor3flow component. o o !roup .ame )efault Tas3s / Email %ending /;

onitor Agent. To onitor Agent.

ap& Administration ' %erver

Configuration& Enterprises& Component )efinitions Ta" and 4uery and copy onitor Agent and enter the .ame, Alice name, Component !roup for this component. And give the following parameters for the

Ena"le this component and synchroniBe it. And restart the %ie"el %erver and !ateway %erver.

2or Chec3 the results go to the application and go to %ite Activity =ist. Create an activity as follows. o o o o )escription Type %tatus %tart / Email Chec3ing / Call / 5ueued

ap& Activities&

/ !ive the current date (; or < days.

%tep of the record and chec3 it.