Hi everybody , i am using
Genesyslab.Desktop.Modules.Core.Model.Interactions library to get data from Outbound call (Record Information) , more especific ,
GetAttachedData() function .
When i execute my code , this fuction return Null value:
public void Create()
{
Model.Case = (Context as IDictionary<string, object>).TryGetValue("Case") as ICase;
IDictionary<string, object> contextDictionary = (Context as IDictionary<string, object>);
object caseObject;
if (contextDictionary.TryGetValue("Case", out caseObject))
{
ICase theCase = caseObject as ICase;
string cliente = theCase.MainInteraction.GetAttachedData("cliente") as string;
}
}
the data called
"cliente" it´s a record information from List Calling (OCS campaign), and it come attached from Outbound Call
My question is : This is the correct way to get Outbound record information using code ? or what library i should use
regards