Is it possible to tell inside a chain of command if the current main interaction is in "After Call Work" mode?
How to tell when interaction is in after call work state?
170 views Asked by Eric Scherrer At
1
Is it possible to tell inside a chain of command if the current main interaction is in "After Call Work" mode?
Turns out if you can get the interaction object it's pretty easy. If it's not passed as a parameter in the the Execute method use the IInteractionManager to get it:
1) Get the IInteractionVoice object
From the parameters passed into Execute:
or Inject an IInteractionManager in the constructor and use that:
Then read the IInteraction.IsItPossibleToMarkDone property.