IWS - Get current status

Hi All,

have anyone experience with simply need of get current status of logged agent with ReasonCode (AttributeReason brand) via IWS DLLs?
Thx

Hi

you mean inside the IWS custom extension code?
WBR Tim

Yep, I have created own module with customize code. I am wondering how to get channel status with reason code (if exists) like in MyWorkspace tab in out-of-box IWS. I would like to do via IWS SDK ( this is why I wrote “DLL”), I won’t use “low” level as PSDK.

Well, Agent object (i mean in namespace Genesyslab.Desktop.Modules.Core.Model.Agents ) contain the MyState properties. You’ve tested it?

I have already finished - you are right, I was looking bad early.

But currently I try to solve other problem, how to check if agent is logged on email,chat or any other channel? I tried to use Genesyslab.Desktop.Modules.Core.Model.Agent.FirstMediaEmail.IsLogOn, but when the media is in opposite state, the property does not return anything

Because FirstMedia… properties is a reference on IMedia object. Which of couse equal NULL if this media does’t init by logged in process.