Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: ammadanwer on November 16, 2016, 11:39:49 AM

Title: BlockDN functionality in Orchestration
Post by: ammadanwer on November 16, 2016, 11:39:49 AM
In IRD strategy, I use [i]SelectDN [/i]function to select the target and [i]BlockDN [/i]function with timeout 0 to release the selected target.
To obtain the same behavior in Orchestration, I use Target block to select the target and [i]_genesys.queue.reserveTarget()[/i] function with timeout 0 to release the selected target.
However,[i] _genesys.queue.reserveTarget()[/i] function does not seem to release the selected target.
Because when the same call encouters the same Target block in second iteration of the loop, the following error is shown:

message {"name":"error.queue.submit","data":{"requestid":203,"error":"0008 Routing done"}}

Following is the syntax showing how I am calling the reserveTarget function:
[i]_genesys.queue.reserveTarget(system.InteractionID,JSON.stringify(v_selectedResource),0);[/i]

where v_selectedResource contains the Resource Selected output given by the Target block.