Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: PFCCWA on September 26, 2023, 11:21:45 AM

Title: IRD Expressions / Segmentation Block
Post by: PFCCWA on September 26, 2023, 11:21:45 AM
Hello,

thought i knew IRD well enough for this query but i am trying use an expression in a generic segmentation block within IRD but the calls are not following the rule in the string.

so in the block, the expression is:
vPass = 'All' | vPass = 'data1' | vPass = 'data2' | vPass = 'data3'| vPass = 'data3' | vPass = 'data4' & vCode = 'ABCD'

but a call with attached/userdata of vPass='All' and vCode='CCCC' is still following the above rule. i only want call with vCode='ABCD' AND and of the vPass values listed to follow that rule.

i am trying to avoid using every vPass and vCode combination for each expression (there are a lot) so want to use the block to pick out certain one.

thanks
Title: Re: IRD Expressions / Segmentation Block
Post by: René on September 26, 2023, 11:44:22 AM
Hi,

Try this one: (vPass = 'All' | vPass = 'data1' | vPass = 'data2' | vPass = 'data3'| vPass = 'data3' | vPass = 'data4') & vCode = 'ABCD'

R.
Title: Re: IRD Expressions / Segmentation Block
Post by: PFCCWA on September 26, 2023, 11:54:16 AM
[quote author=René link=topic=12460.msg55398#msg55398 date=1695728662]
Hi,

Try this one: (vPass = 'All' | vPass = 'data1' | vPass = 'data2' | vPass = 'data3'| vPass = 'data3' | vPass = 'data4') & vCode = 'ABCD'

R.
[/quote]

thanks, worked like a charm!