cancel
Showing results for 
Search instead for 
Did you mean: 

Filter a list inside NWBPM

0 Kudos

Hi,

i have an xml response from a web service like this:

<xml>
<Attachment>
<documentType> F </node>

</Attachment>
<Attachment>
<documentType> B </node>
</Attachment>
<Attachment>
<documentType> D </node>

</Attachment>
</xml>

Is it possible to check if the node "documentType" contains the value F?

I tried the function CONTAINS but it is used only for strings not for list of strings, any suggestions?

Thanks,

Antonello

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Ok, but if there isn't a document type F the return of the function is?

hasan_celebi
Participant
0 Kudos

Hi Antonello;

You can use filter function.

filter(Attachment,"documentType=F")


Regards
Hasan