Skip to Content
0
Jun 02, 2020 at 07:53 AM

Router issue in sap cpi

338 Views

Hi All,

I dont know where am doing wrong for the router condition which am providing here. I have attached the xml of the source and the xpath condition. Please correct me where it has wrong.

Source XML:
<?xml version='1.0' encoding='UTF-8'?> <root> <reports> <name>Level 2 Talent Dashboard</name> <language>EN</language> </reports> <reports> <name>Level 3 Talent Dashboard</name> <language>EN</language> </reports> <reports> <name>Level 3 report</name> <language>EN</language> </reports> <reports> <name>line manager report</name> <language>EN</language> </reports> </root>

Xpath Condition: /root/reports/name='substring-before(.. 'Dashboard')' or /root/reports/name='line manager report'

Regards,
Sandhya