Question

1
Replies
92
Views
Close popover
Kasthuri Koteswararao (Koteswararao10665025)
LTI
Software Engineer
LTI
IN
Koteswararao10665025 Member since 2017 1 post
LTI
Posted: April 27, 2020
Last activity: April 27, 2020

How to Pick Specific Business Calendar by Standard agent Based on Region?

We are having a requirement, we have created multiple calendars in the application for different Regions. During the standard agent execution, which calendar would be picked? I have searched and I got only related to the access group but nothing for the calendar. We user below function for Calculating SLA using Declare Expression.

@(Pega-RULES:BusinessCalendar).addDays(@DateTime.CurrentDateTime(),D_SLAConfig[Step:"Vendor Confirmation",Region:.Region,UrgencyFlag:.PurchaseReq.UrgentFlag].Urgent,true,OperatorID.pyCalendar)

If case processed by Operator, it will take Respective Business Calendar. If the Case is processed by Agent or Wait shape How the Business Calendar Changed as per Region.

Pega Platform 8.3.2 Low-Code App Development Dev/Designer Studio Other Industry System Architect