UCCX Scripting - Open/Close time of day is different on some days
All,
I currently have a simple UCCX script with a DOW and TOD variable set, but need to make an adjustment to accommodate a new schedule for a call center queue. My DOW is Monday - Friday, and TOD is set to 8am-5pm. I need to make a change to where say Wednesday is set to not close the queue until 10pm. How do I make that happen?
This is the way it shows in the editor:
DOW: Monday-Friday
+open:
++8am-5pm:
+++Goto yadayada
++TheRest
+Closed
If I need Wednesday's queue to stay open between the hours of 8am and 10pm, what logic do I need to put in? I'm thinking I'll have to add an IF Statement, but not sure where to start. Any ideas?
I was able to figure this out. Below is what I did:
Created two new Day of Week options and selected the corresponding days. Under each, I moved the Time of Day statement and assigned the time ranges, then selected the goto statement and assigned it as needed per my script.
This should provide the logic I was needed.
Similar Messages
-
Working with TimeZone variables in UCCx script
Hi Team
I'm wondering if you guys could help me to find out the best way to work with TZ variables in UCCx script.
Because of different countries customer has a branches, I need to setup different TimeZones for each country handled by the same centralized UCCx.
In this post they use Java to work with TZ, however, but I prefer another way to work with TZ variables:
https://supportforums.cisco.com/discussion/11851751/how-make-uccx-holiday-script-timezone-aware
My idea is to work with Time Zone variables in the script, so what I did was to create different TZ variables and each one of the them assigned the proper timezone based on the country, so depending of the Trigger involved (DNIS), I can find witch country this call came from and give the right timezone.
The problem I have is that at the time I want to add or subtract two variables of TZ, I got an error because of the syntax. I've been trying different options, but until now, no luck.
Would you mind you guys who had been working on this let me know what is the right syntax to add or subtract TimeZone variables un UCCx?
Thanking you in advance
MartinHi
I've been working on TZ's recently... see this post:
https://supportforums.cisco.com/discussion/12474756/how-check-daylight-saving-within-uccx-script
My approach in the scripts was that basically I allow the department to set their opening hours in the timezone of their choice.
They have a management web page served from CCX that accepts start/end times each day, and a timezone. That all gets stored in XML.
In the script, based on that information I get the current time in whatever timezone is set, and compare that to the XML open/close times.
Similarly for holidays, I get the current date/time in the holiday TZ and compare the holidays to that.
Aaron -
What is the purpose of open/close connection data socket?
Hello everyone,
I am writing and reading values in OPC Server through data socket. What is the purpose of open/close connection data socket when writing /reading a value? Without the open/close connection element, it still work correctly. I am writing values in the server thru event stucture.I do not need any buffered reading or writing. What will happen if I didnt not use the open/close connection? Maybe it may cause some problems in my program which i didnt realise?
And I have attached an example of my program. Thanks
Yehchia
Attachments:
Test Event.vi 11 KBHi YehChia,
I was talking about something like that:
1. Not good. since with every iteration the DS connection needs to be opened and closed.
2. Good. Since you open the connection only once then do the reads and close it afterwords.
Christian -
Pulling time used for only a certain time period for 11 different fields.
I have a report that pulls my OR room case times. Each room is set to different "open" times, ( rm1 open 12 hours, rm 2 open 12 hours, room 3 open 12 hours, room 4 open 7.5 hours, with Room 7 "off duty", etc.) I only want to pull data for the times my rooms are open, so if room 1 starts at 7am and a case goes past 7pm, i dont' want it to return any data for after 7pm. I only want the times that exist, if any, from the time my room opens to the time it is suppose to close. Currently i have a subreport built in that is totaling "all" the times for each room individually. I need to set the times it pulls for each of my room to reflect my open times to see if we have 100% utilization of the rooms. Is it possible to do this for each room ( i have 11 OR Rooms) by writing a formula? I am new to crystal report writing so i'm can't figure out how to make this work. Please help.
Personally, I question the logic of cutting off the time at "closing time" for each room. Regardless of the "normal open hours", I think it would be hugely beneficial to know if a OR is used outside of normal hours, and seeing a utilization of 110% would be a good indication. (You might want to open another OR, or hire more doctors, or...) If a triple organ transplant is gonna take 14 hours (made up data; I'm no surgeon!), I would think you'd want to see 116.7% utilization...
That being said, if you're convinced that the cutoff is the right choice, you probably want to link the usage data to a table with the OR hours, then use the Time() function and compare the start/stop timestamps to the open/close times of the OR, and use the larger (start) or smaller (end) values. Something like (basic syntax):
if Time({oper.startTime}) < {or.openTime} then
formula = {or.openTime}
else
formula = {oper.startTime}
end if
HTH,
Carl -
UCCX Scripting, Time variable
I am looking for guidance on UCCX scripting. I have searched all the forums but can't find what I am looking for. I want to be able to close Contact Center at different times for different Service Queues on Holidays. For example, Customer Service closes 5 pm on the day before holiday, but Helpdesk does not close till 11:30 on the day before holiday. How can i incorporate time in my script. I am using XML file with Holiday dates as of now. Any help will be appreciated.
Scenario:
Sales: Close 12/23/13 at 5:00 PM and re-open 12/26/13 at 7:00 AM
Help Desk: Close 12/24/13 at 1:30 AM and re-open 12/26/13 at 6:00 AMTake a look at the examples available from script repository:
Cisco Unified Contact Center Express Script Repository 9.0(2)
Chris -
Open/close 2 doors at the same time
Im having trouble (again).. this time - I need to open/close
two doors at the same time with the activation being from a button
(object) that is not linked to the doors. How can i get this done?
In addition to this, can i get lights to turn on/off at this very
same moment. For instance green light you can open the door... red
light door is already open.. or in process of open/close. Any help
is appreciated!jah_p,
I would use an object-oriented approach, using parent scripts
as the object envelop, so to speak;
if you are not familiar with object-oriented programming, you
would need at least a day to get it under control; once you have
figured it out you would create one generic 'door' object which
would have rotation amounts and opening and closing
methods/functions in it;
when you would instantiate a new door 'object' you would feed
it the door model that you want to open/close;
example:
[ code]
global purple_door_object
global yellow_door_object
on startmovie
purple_door = member("your_world").model("purple_door")
purple_door_object = script(
"generic_parent_script_for_doors" ).new( me , purple_door )
yellow_door = member("your_world").model("yellow_door")
yellow_door_object = script(
"generic_parent_script_for_doors" ).new( me , yellow_door )
end
[/code]
so at the beginning of the movie you create the door
'objects';
later when you press a button or whatever you would call one
of these objects, or both, and tell them to do their thing, such as
'open';
example:
[code]
global purple_door_object
global yellow_door_object
on someevent
purple_door_object.open_it( )
yellow_door_object.open_it( )
end
[/code]
your generic door object parent script would look something
like this:
[code]
property this_door_model
property total_degrees_to_open
property amount_to_open_each_frame
on new me , arg_door_model
this_door_model = arg_door_model
total_degrees_to_open = 85
amount_to_open_each_frame = 3
return me
end
on open_it me
-- the 'me' thing is confusing; you will have to read up on
it; I can't explain it;
-- here you will probably create a timeout object that will
call a rotate script every 50 milliseconds or so; and you will have
to do the math to see if the door is completely open yet; if so
then kill the timeout
end
[/code]
I hope that this helps;
dsdsdsdsd -
Day light saving changes in UCCX scripting.
Hi, We are using UCCX version 8.X and we have script like press 1 to go shangai tem, press 2 to go to US team like that.
In the time of day light saving we are doing manual changes in time of day settings manually when ever the location day light savings changes.
so is there a way to the script refer the local time zone according to the region day light savings.
or the reqired OS patched time zone patches will solve the problem please suggests.
Thank you.
Baskaran.Hi,
UCCX uses its own time in the server to lookup the time. you need to configure the proper timezone for your UCCX. if shangai and US change start using daylight saving at the same date, you don't need to change your script. if not, unfortunately you need to change the time in the script itself.
HTH
Anas
please rate if it is helpful -
Is there a command that can open & close a dialpeer on a specified time
Is there a command that can open & close a dialpeer on a specified time on a router
In Callmanager Express and SRST, you can block certain patterns and therefore certain dial peers based on time of day, day of week, and date. See the following links.
Callmanager Express
http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide_chapter09186a00802d23e0.html
SRST
http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_configuration_guide_chapter09186a0080392682.html
You can accomplish this with Callmanager by using Time of Day Routing. See the following link.
http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_administration_guide_chapter09186a00803edbaa.html
Hope this helps. If so, please rate the post.
Brandon -
Is there a way we can open/close posting periods on a "per day" basis?
Hi SAP gurus,
Is there a way we can open/close posting periods on a per day basis?
It is not possible in OB52 since it only has control per period and not per day.
Will assign points for suggestions. =) Thanks!Hii
In standard SAP there is not such functionality where u can do these kind of configuration...it is at least for a month that is through OB52.
If u still wants this functionality it is through the validation.
u need to create the validation for that company code and thn u can use this functionality....
hope it helps u
reward points if helpful
sejal singh -
Service Request - Open and Close Time
Service request created by a user in India is reflecting the local date/time Zone. But when the same user runs the report the Open/Close dates are in the dd/mm/yyyy format but the time zone is USA EST. Is anyone experiencing the similar problem?
Edited by: 864252 on Oct 5, 2011 10:54 AMThe application was not turned on. To have it turned on you need to activate the business function Sales and Service (CRM_SLS_SRV_1).
Hope this helps? -
Script to open INDD files, run script, and close
Hello, I'm looking for a script that will open a folder of Indesign files, open each one, run a selected script, then close each file.
RIght now I'm using the Batch convert script, to convert INDD to INDD and run the script in between (then I delete the extra INDD file). But I'm trying to eliminate the conversion element, just need the script part of it.
Anyone have any help? Thanks.Here's my whole code if it helps. I'm wondering if the script is moving too fast. I think that the first files are still PDFing while the others are opening and closing. Could that be it? I'm not sure why else the for loop for the PDFing is only working on the first file.
var myFolder = Folder.selectDialog("Select Input Folder");
var myIndsnFiles = myFolder.getFiles("*.indd");
var exportPath=Folder("/").selectDlg("Select PDF output folder:");
var pdfPreset = "Press Quality";
for(k=0; k<myIndsnFiles.length; k++)
app.open(myIndsnFiles[k]);
var jobNumber = "12345";
for (aPage=0; aPage < app.activeDocument.pages.length; aPage++)
app.pdfExportPreferences.pageRange = app.activeDocument.pages[aPage].name;
app.activeDocument.exportFile (ExportFormat.PDF_TYPE, File(exportPath+"/"+jobNumber+"_"+pad(app.activeDocument.pages[aPage].name)+".pdf"), false, pdfPreset);
function pad (n) {
return ("00000"+n).slice(-3);
app.activeDocument.close(); -
Both Photoshop and Lightroom exhibit the same error. Sometimes this happens 3 times in one day or perhaps every third day. When I open either package I get a message saying that I have 00 days left in the trial and to continue I need to purchase a licence or start a trail. If I click on purchase a Licence the once I log in with Adobe ID I can get started. I have contacted Adobe chat support 6 times. They suggest deleting an opm.db file and assure me that this will sort the problem and within 24 hours back to square one
Here it happens only with photoshop cc 2014. i just deleped opm.db i will check again tomorrow.
-
There are two accounts on this computer.. One belongs to Donna Jean.. This is the one that I am writing about. I have download Firefox 3 times in English language and it stays in Hebrew. The programs are in English but the open, close and directions at the top of the page is Hebrew.. Also my bookmarks are in Hebrew.
thankyou. THANK you.
thankyouthankyouthankyou!
sorry about no screenie but the first option worked (at least so far!)
THANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOU -
Can't close tabs so they don't open every time I open Firefox.
It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder
*http://kb.mozillazine.org/Profile_folder_-_Firefox
Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
See also:
*http://kb.mozillazine.org/Session_Restore
*http://kb.mozillazine.org/sessionstore.js
*http://kb.mozillazine.org/Multiple_profile_files_created -
I can't final close Safari with control Q. It just open next time on the closed page.
To prevent Safari opening your last closed pages again you can do one of three things.
1. Close the pages before closing Safari (eg. open homepage before closing Safari)
2. Hold Shift while opening Safari (this will start Safari from homepage)
3. Browse in 'Private Browsing'.
Maybe you are looking for
-
Downloading both the HD and SD versions of a movie
Usually when I purchase an HD movie, I get both an HD and an SD version. That's good because a familiy member has an older ipod that only plays the SD versions. However, for the Bee movie, when I made the purchase, I only got the HD version. They
-
My report contains a BLOB (image), why it can't generate an XML file?
Hi guys, I created a report (Purchase Order) and it has a Signature field. which is a BLOB column of an image (.JPEG) of the signature of the Purchase Order Approver. When i run the report in the report builder its working and it shows the image of t
-
Specify Starting Position in Sender FCC
Hi Experts Team, I wish to specify the starting position of field in sender FCC. can i???? regards, kanda
-
Problem staying connected to my Wireless Network with my HPPhotosmart e-All-in-One Printer - D110a
I just bought a new HP wireless printer replacing my old HP wireless printer which the wireless part worked fine, but the printing died. New printer HPPhotosmart e-All-in-One Printer - D110a. I have installed and re-installed the software and drivers
-
Hello, When I start a new project in premiere elements 12,wich folders are then created automatically? or do I have to specify a location in presets where files or maps should be placed? I can possibly do that in a second drive of 1Tb. can someone sh