cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

filter CPI Error

former_member740482
Participant
0 Likes
3,163

Dear experts

I am creating an iflow using a trial instance for use filter.

In the step filter appear this message warning:

I modify the content using this structure:

And in the step of filter use this:

However when I run the service in POSTMAL generate this error:

What is the cause of this error?

Regards

View Entire Topic
MortenWittrock
SAP Mentor
SAP Mentor
0 Likes

Hi

Thank you for providing a lot of detail in your question!

The XPath expression in your Filter step is not quite right. Try this slightly edited one instead:

/root/empleados[cargo = "Delantero"]

Please note the the Filter step will remove the root element. To bring it back, add a Content Modifier step immediately after the Filter step with the following Message Body:

<?xml version="1.0" encoding="UTF-8"?>
<root>
${body}
</root>

To learn more about the Filter step, check out this blog post by sriprasadshivaramabhat.

And by the way: To test your iflow while you are developing it, try the simulation mode. That lets you run your steps directly in the Web UI, without having to hook up a sender channel and without deploying the iflow. It's a really useful feature that will make your life easier.

Have fun with CPI!

Regards,

Morten

former_member740482
Participant
0 Likes

Hi Morten

With you suggestion , the issue was solved

I have followed this blog for active the simulate mode

Integration Flow Simulation in SAP Cloud Integration | SAP Blogs

And I dont found the option "Simulation mode"

I am working this with a trial.

How can get this?

Regards

MortenWittrock
SAP Mentor
SAP Mentor
0 Likes

Hi partytecnico74

You have to set the start and end point of the simulation before you can start it:

You no longer have to switch on simulation mode, as described in your link; it's always on.

Regards,

Morten

former_member740482
Participant
0 Likes

Hi Morten. I question different:

In several blog I have found the concepts of "tenant management node" and "tenant runtime node"
Where can found this in my count trial? and what are the functions of each one?

Regards
MortenWittrock
SAP Mentor
SAP Mentor

Hi partytecnico74

Runtime nodes is where messages are processed and endpoints are exposed. They are managed by a tenant management node, which also runs CPI tools like the Web UI and the OData API. You can find more information about those topics here.

Regards,

Morten

former_member740482
Participant
0 Likes

Hi Morten

I have other question that created in this link, please can help me

Modifying Content Modifier | SAP Community

Regards!

former_member740482
Participant
0 Likes

Hi Morten

I am getting this error when I am using :

 Expression Type : Non XML 
 condition : ${property.Account_Type} =  'Individual'

I also have used this and not work:

Expression Type : Non XML 
 condition : [${property.Account_Type} =  'Individual']

I have created the condition having into account this:

However the error appear.

What is the cause of this error?

Regards