- Joined
- Mar 17, 2022
- Messages
- 21
- Reaction score
- 3
Hi, is there a predefined variable showing the number of the agent being called during the "contact lookup" scenario? Im trying to add a condition to this scenario, which will only do "contact lookup" when a specific agent is called and there might be more than 1 specific agent as well. This is currently what I'm trying to use, which isn't working,
What I'm trying to achieve here is for incoming calls where the agent extension is either 8001 or 1001, then I want to do a contact lookup. Is this possible?
XML:
<Request SkipIf="[IIf([InteractionType]!=InboundCall,true,[IIf([QueueExtension]==8001, false, [IIf([QueueExtension]==1001, false, [IIf([AgentExtension]==8001, false, [IIf([AgentExtension]==1001, false, [IIf([Agent]==8001, false, [IIf([Agent]==1001, false, true)])])])])])])]" Url="https://login:password@aa46-2a01-4b00-e208-dd00-cd79-79c6-19aa-f38d.ngrok-free.app" MessagePasses="0" RequestEncoding="UrlEncoded" RequestType="Get" ResponseType="Json" />