Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions sam-app/lambda_functions/sfIntervalAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ def prepare_agent_record(record_raw, current_date):
return record

def label_parser(key):

agent_status = ["Paperwork time","Training/Coaching time","Outbound Campaign time","Comfort Break time","In a meeting time","Paperwork time","On Lunch time"]

if key in agent_status:
return "%s__c" % key.replace(" ", "_").replace("/","_")

if key.lower() == 'average agent interaction and customer hold time':#To Long
return pnamespace + 'Avg_agent_interaction_and_cust_hold_time__c'

Expand Down