I need a way to set the treatment and/or call result of an outbound record programatically in a setting where disposition codes are not shown to the user.
For instance, I could treat a certain record as busy or wrong number if certain conditions are met.
Is there any way to do this?
I tried setting the call result of the outbound record both before and after the SetCallResultOutboundRecord command of the SetCallResultOutboundRecord chain, but that has no effect on the calling list.
I found a way to do it, but then the call result I set is overwritten. This is what I’ve done so far.
This assumes I have an InteractionPullPreview called interaction, and that I have the result I want in a variable named result, and an IObjectContainer named container.