I am trying to display InteractionID for Email interactions in the softphone
so far i tried to display and failed
For the existing business attribute, i added “InteractionId” New business attribute value, but when the pop up came the value is not there.
correct business value was called in the IWS application.
I created a new Business attribute value by the name “NewInteractionId” and this value appears in the softphone, where as for each interaction both interaction attributes are different.
Other values which are in the same BA like first name and last name pops up correctly
I took the values appeared in the URS logs and created the above values
No kvp, it is in iinteraction object directly. Forget about kvp parsing. Enterprise sdk does it for you in this case. Do you want to display it in case data? Or where?
Hi Robert,
i was doing exactly what you said, the interaction.case-data.format-business-attribute has a value of Business attribute
and BA has InteractionId in it
but still InteractionId is not displayed. when i was playing with it i added NewInteractionID, this BA display but not InteractionId.
Can you export wde options and send screenshot of ba configuration? It is weird. The kvp is always there for interactions. What does wde say into log. Can you see the data if you increase log level?
As I remember, there was a limitation on using the “system” data. For this, I have used workaround by creating new KVP to which I copied the value from InteractionID field, then I used this new field in WDE case data.
Hi Kubig,
strange is, that I did test it yesterday evening and it works fine. I was using it couple of times before as well. InteractionId is part of interaction UserData. I don’t see reason why it shouldn’t work, unless it is not somehow filtered out at WDE side. But then I should be able to see it in logs or options of WDE.
There are interaction attributes, which are not displayed, but these attributes are not part of UserData. They are part of InteractionAttributes list and needs to be obtained from interaction object only and then attached to KVP if you want to see it in user data. At least I did it like that previously for interaction Type and Subtype.
1st step looks good:
check if interaction.case-data.format-business-attribute=IW_CaseData is not overridden at Tenant, agent group level.
you can as well find it in logs of WDE.
you can see it in startup log of WDE. The options and its values does show all overrides.
17-03-08 10:04:00.712 [ 1] INFO ucture.ConfigManager - ********************************* DisplayDictionary Begin *****************************
############################# Dictionary ConfigAgent #############################
opts here
############################# Dictionary ConfigLocalUser #############################
opts here
############################# Dictionary ConfigAgentGroup #############################
opts here
############################# Dictionary ConfigTenant #############################
opts here
############################# Dictionary ConfigApplication #############################
‘interaction.case-data.format-business-attribute’ =‘WI_Data_Ixn’
‘interaction.override-option-key’ =‘IW_OverrideOptions’
then check whether you don’t have specified override in routing.
In WDE logs on interaction receive you should see:
17-03-08 10:19:56.265 [ 1] DEBUG ws.CaseDataViewModel - CfgToCaseData
17-03-08 10:19:56.266 [ 1] DEBUG ws.CaseDataViewModel - CfgToCaseData
17-03-08 10:19:56.266 [ 1] DEBUG ws.CaseDataViewModel - CaseData::DataValue.set - Enter for Property InteractionId with new value = - type= [5]
17-03-08 10:19:56.266 [ 1] DEBUG ws.CaseDataViewModel - [.CaseData.] DataToGraphicData… entry value is null, return null
17-03-08 10:19:56.266 [ 1] DEBUG ws.CaseDataViewModel - CaseData::DataValue.set - Test before GraphicDataValue synchro for Property InteractionId: GraphicDataValue= () ; obj= () [5]
17-03-08 10:19:56.266 [ 1] DEBUG ws.CaseDataViewModel - CaseData::GraphicDataValue.set - Enter for Property InteractionId with value = - type=
17-03-08 10:19:56.266 [ 1] DEBUG ws.CaseDataViewModel - CaseData::GraphicDataValue.set - Property of InteractionId changed to - type=
17-03-08 10:19:56.266 [ 1] DEBUG ws.CaseDataViewModel - CaseData::DataValue.set - Property of InteractionId changed to - type= [5]
17-03-08 10:19:56.268 [ 1] DEBUG ws.CaseDataViewModel - CaseData UserData Count 31 [InteractionWorkItem: Id000/0370632RQQ5KC000]
17-03-08 10:19:56.270 [ 1] DEBUG ws.CaseDataViewModel - CaseData::DataValue.set - Enter for Property InteractionId with new value = 0370632RQQ5KC000 - type=System.String [5]
17-03-08 10:19:56.272 [ 1] DEBUG ws.CaseDataViewModel - [.CaseData.] GraphicDataToData… fallback case… return
17-03-08 10:19:56.272 [ 1] DEBUG ws.CaseDataViewModel - [.CaseData.] GraphicDataToData… fallback case… return
17-03-08 10:19:56.272 [ 1] DEBUG ws.CaseDataViewModel - [.CaseData.] DataToGraphicData… type = string
17-03-08 10:19:56.272 [ 1] DEBUG ws.CaseDataViewModel - [.CaseData.String.] DataToGraphicData… type == CaseDataCfg.StringType… return value : 0370632RQQ5KC000
17-03-08 10:19:56.272 [ 1] DEBUG ws.CaseDataViewModel - CaseData::DataValue.set - Test before GraphicDataValue synchro for Property InteractionId: GraphicDataValue= () ; obj=0370632RQQ5KC000 (Genesyslab.Desktop.Modules.Windows.Views.Common.GenericDataView.CustString) [5]
17-03-08 10:19:56.272 [ 1] DEBUG ws.CaseDataViewModel - CaseData::GraphicDataValue.set - Enter for Property InteractionId with value = 0370632RQQ5KC000 - type=Genesyslab.Desktop.Modules.Windows.Views.Common.GenericDataView.CustString
17-03-08 10:19:56.273 [ 1] DEBUG ws.CaseDataViewModel - CaseData::GraphicDataValue.set - Property of InteractionId changed to 0370632RQQ5KC000 - type=Genesyslab.Desktop.Modules.Windows.Views.Common.GenericDataView.CustString
17-03-08 10:19:56.273 [ 1] DEBUG ws.CaseDataViewModel - CaseData::DataValue.set - Property of InteractionId changed to 0370632RQQ5KC000 - type=System.String [5]
17-03-08 10:19:56.273 [ 1] DEBUG ws.CaseDataViewModel - CaseData::DataValue.set - Enter for Property TeamName with new value = DNB_Team_1 - type=System.String [2]
if data you specified in business attributes is missing in onteraction UserData the you will see:
17-03-08 10:19:56.275 [ 1] DEBUG ws.CaseDataViewModel - Removed AttachedData CallQuality
The “CallQuality” kvp was not found in my interaction.
If none of these steps helps, I’m afraid I can’t help you anymore.
I don’t know if this was ever solved but might be useful for others.
I tried and failed many times to add InteractionId to Interaction Search. It showed fine in other columns/filters but just not in Interaction Search, it would be empty.
Other customer attributes would work fine.
And then I found out “InteractionId” is actually called “Id” in UCS.
Its called “InteractionId” everywhere else but fine, it works now. :
Hi
Id will not work. It must be kvp name from userdata. Im not avare about wde feature that filters soecifued data from cse view. It doen’t mean that such feature exists :-D.
Log clearly says removing. I would try to copy InteractionId to myId in routing. Specify myId in business attribute list of user Data for wde case data view.
Ba name=myId display name=InteractionId. In case data you should see InteractionId but content will be filled from myId kvp.
If we do this and change the current value to a new one as you mentioned above, we will loose rest of the case data?
Is Case data change affect routing?