How to get value of the previous routing point in 7.2 Env.

Hi all, I am having difficulties to find function in IRD which returns value of the previous Routing point. Example:

  1. Voice interaction goes to routing point A on which strategy is loaded and Agent A take the call.
  2. Agent A call a routing point B on which a strategy is loaded.

Before selecting the appropriate target in strategy on RP B, I want to have the value of RP A. Is this possible and how to do it without making any changes in strategy on RP A ??? Any advice would be highly appreciated.

Save number of first RP to UserData for example,then you can get value even if you want

Problem is that the specified as RP A is not only 1 but more than 200, which makes the task… so this is why I am looking for another solution.

I do not understand to you, your calls hopped over 200 RP??! I think,that you want to get number of last RP

1 Like

Hi,

Solution proposed by Kubig looks feasible for me even you have strategy loaded on hundreds RPs.

Simply store RP number from which the call was routed to agent to attached data using Update function (Update[‘LastRP’,GetRoutingPoint]). And read that value (UData[‘LastRP’]) in second strategy to make decision where to route the call.

R.

2 Likes

10x guys, but Interaction on second RP (RP B) may arrive from more than 200 different points (RP A) with loaded different strategies on each of them, which mean that i have to make changes on each of these 200 strategies. If I have to make changes on first RP which is A but not only 1, it doesn`t really matter to me if I attach RP number or any custom data to be read on second RP (strategy). :-[ I thought that I am missing some function which is mix between GetRoutingPoint and Orig. ;D Of course, аt the end, if there is not such possibility, I can always create subroutine to do the job and insert it in all RPs. :slight_smile:

Unlikely there is ready function for this.
You don’t need to modify all startegies though to make attaching - create subroutine that updates the user data and assign its name
as value of router’s option prestrategy (can be specified even on router level itself) - it will be automatically executed
before running loaded on any RP strategy.

2 Likes

Yep, that was the idea that I’ve been looking for. As far as I understand it works also on routing point, T-Server,
tenant, but this time I’ll use it on URS. You have been very helpful. Thanks a lot. :slight_smile: