#HELP FORMAT: abbr= abbreviation //context provide for use of abbreviation word// #display reporter collected info function #help--> cr = Call REPORTER or See(c) REPORTER collected info def cr(): print("\nReporter Last Name: " + str(rl)) print("Reporter First Name: " + str(rf)) print("Reporter Telephone: " + str(rt)) print("Reporter Department: " + str(rd)) print("Reporter email: " + str(re)) print("Is Caller from a PSD: " + str(peo)) def get_rl(): rl = input("What is your Last Name?: ") return rl def get_rf(): rf = input("What is your First Name?: ") return rf def get_rt(): rt = input("Phone number to reach you at?: ") return rt def get_rd(): rd = input("What is the caller's department?: ") return rd def get_re(): re = input("Email to reach you at?: ") return re def get_peo(): peo = input("Are you calling from a SD? (yes or no): ") return peo def get_t(): t = input("Do you have a ticket number reference?: ") return t rl = get_rl() rf = get_rf() rt = get_rt() rd = get_rd() re = get_re() peo = get_peo() t = get_t() ''' def caller_is_reporter(): #Reporter block = Reporter function #help--> rl= reporter last, rf= reporter first, rt= reporter telephone (subsequent logic rt2, rt3 etc), rd= reporter department, re= reporter email, c= call, t= ticket (ref # provided)(t,in, sr, im//t2,in2, sr2, im2), inD= Incident description #alternates // gt= generic ticket (ref # provided) reporter = caller_is_reporter() rl = input("What is your Last Name?: ") rf = input("What is your First Name?: ") rt = input("Phone number to reach you at?: ") rd = input("What is the caller's department?: ") re = input("Email to reach you at?: ") peo = input("Are you calling from a SD? (yes or no): ") t = input("Do you have a ticket number reference?: ") ''' rin = input("Are you reporting an Incident? (yes or no):") #Affected user block = EU function #help--> euq = End User //Questions to ask// #help--> eul= end user last, euf= end user first, eut= end user telephone, eud= end user department, eue= end user email def euq(): eud = input("What is the End User's department?: ") eul = input("What is End User's Last Name?: ") euf = input("What is End User's First Name?: ") euid = input("What is the End User ID?: ") eut = input("Phone number to reach End User: ") eue = input("Email to reach End User?: ") #Ask if this is an Incident def isIn(): if rin == ("yes"): euq() print("This is an Incident") isIn() inD = input ("\n\nIncident Description: ") ''' #display reporter collected info function #help--> cr = Call REPORTER or See(c) REPORTER collected info def cr(): print("\nReporter Last Name: " + rl) print("Reporter First Name: " + rf) print("Reporter Telephone: " + rt) print("Reporter Department: " + rd) print("Reporter email: " + re) print("Is Caller from a PSD: " + peo) ''' #Incident block #help--> out= outage, s= scope, nua= number users affected isc= is cbas, cbas= cbas //critical business application or service// #help--> asac= affected system application configurationItem, ioos= impact on other systems, bi= business impact, e= error //message// out = input("Is there an outage? (yes or no): ") s = input("Scope of the outage/incident?: ") nua = input("How many users affected?: ") asac = input("Which affected system-application-ci?: ") ioos = input("What impact,if any, on other systems?: ") bi = input("What is the business impact?: ") e = input("What does the error message say?: ") #Affected site block #help--> aeb= affecting entire building, asn= affected site name, asa= affected site address, asds= affected site (is a ?) designated site aeb = input("\nAffecting Entire building?: ") asd = input("What is the Affected SITE's DEPARTMENT?: ") asn = input("What is the Affected SITE NAME?: ") asa = input("What is the Affected SITE ADDRESS?: ") asds = input("Is this a Designated Site?: ") asf = input("Which floor is affected?: ") asr = input("Which room is affected?: ") #AGENT ASSESSMENT WORK QUESTIONS print("\nAGENT WILL ANSWER THESE QUESTIONS AFTER HE PUTS THE CALLER ON HOLD\n") #help--> isc= is cbas, cbas= cbas //critical business application or service//, sh= support hours, ric= responsible incident coordinator, ia= impact assessment, ua= urgency assessment, opt= overall priority ticket isc = input("Is this a CBAS? (yes or no): ") cbas = input("Which CBAS (Critical Business Application or Service is Affected?: ") sh = input("What are the hours of support for the CBAS?: ") ric = input("Who is the Responsible Incident Coordinators?: ") ia = input("What is the Impact assessment?: ") ua = input("What is the Urgency assessment?: ") otp = input("What is the overall priority of the ticket?: ") #display Incident collected info function #help--> cr = Call REPORTER or See(c) REPORTER collected info def cin(): print("\nINCIDENT DESCRIPTION: " + inD) print("\nIs this an outage: " + out) print("What is the scope of the outage: " + s) print("Number of users affected: " + nua) print("This is affected: " + asac) print("Impact on other systems: " + ioos) print("Business impact: " + bi) print("ERROR MESSAGE: " + e) # print("Hours of Support for " + cbas + ": " + sh) print("Responsible Incident Coordinator: " + ric) print("Impact Assessment: " + ia) print("Urgency Assessment: " + ua) print("Overall Priority of the Ticket: " + otp) #Affected user block = EU function #help--> eud= end user department, eul= end user last, euf= end user first, euid= end user id, eut= end user telephone, , eue= end user email, euloc= end user location eud = input("\nWhat is the End User's department?: ") eul = input("What is End User's Last Name?: ") euf = input("What is End User's First Name?: ") euid = input("What is the End User ID?: ") eut = input("Phone number to reach End User?: ") eue = input("Email to reach End User?: ") ''' needs a revise or edit function that will go over each question giving opportunity to edit the response given ''' #am I talking about an edit function? #another way to do this is to call a specific question. #display call status function #help--> cs = Call Status or See(c) Status on collected info in this call def cs(): print("\n\n\nLet me recap what I have so far: ") cr() print("\nTicket Number provided by the caller: " + str(t) + "\n") ceu() print("\n") cin() print("\nIncident description: " + inD) print("\nHappening here @ " + asa) print("\nOverall priority of the Ticket: " + otp) #display Affected Site Location details def cas(): print("Affecting Entire Buiding: " + aeb) print("This is a Designated Site: " + asds) print("Affected Site Department: " + asd) print("Affected Site Name: " + asn + ", " + asa) print("Affected Site Floor Number: " + asf) print("Affected Site Room Number: " + asr) #display End User collected info function def ceu(): print("Affected End User Department: " + eud) print("Affected End User ID: " + euid) print("Affected End User Last Name: " + eul) print("Affected End User First Name: " + euf) print("Affected End User ID: " + euid) print("Affected End User Telephone: " + eut) print("Affected End User Email: " + eue) print("\nAffected End User's Site: " + asn + ", " + asa) print("Affected End User Floor: " + asf) print("Affected End User Room: " + asr) cs() ''' ############################ ############################ # DEFAULT VALUES ############################ #REPORTER default values rl = "Berube" rf = "Carl" rt = "613-555-5555" rd = "TBS" re = "carl.berube@tbs.gc.ca" peo = "PSD" t = "IM989898" inD = "This is going to be a long issue. Caller is Carl Berube. he works is a SD serving TBS. Mary Leclair called to report that she believes that her desk colleagues have lost network connectivity. Her ICE IVR system is no longer working which means that all SD agents are unable to take calls at the moment" out = "yes" s = "Partial" nua = "23" asac = "ice ivr" ioos = "can't take calls" bi = "backlog of angry callers" e = "you may not be connected to a network connect msg appears in ICE" #Affected SITE block default values aeb = "yes" asd = "Environment and Climate Change Canada" asn = "Billy Jean Building " asa = "15 Eddy" asf = "5" asr = "545" asds = "yes" #AGENT ASSESSMENT WORK QUESTIONS default agent entered values isc = "yes" cbas = "ice ivr" sh = "24/7" ric = "ICT" ia = "HIGH" ua = "HIGH" otp = "HIGH" #Affected END USER block default values eud = "ECCC" eul = "Leclair" euf = "Mary " euid = "b123455" eut = "829-098-7654" eue = "mary.leclair@eccc.gc.ca" ''' ############################################## #################################################