Need to Extract specific Tag from XML response

Hi Team,

I wanted to extract the Data inside the Tasks Tab, i tried with multiple ways but not getting the values. Please help me to get the all Tags under Task tag. Below is the XML response.

"<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“http://www.w3.org/2001/XMLSchema”>
soap:Body




6406552
6406552
BPMSOrderRejectionNotification
BPMS Order Rejection Notification
ITProduction
2020-10-01T21:27:49.163
2020-10-02T21:27:49.163

6986491
33081
Ready
true
19
Undefined
SwIFT OP
Business24
ITProduction
1

BusinessOrderId
1911182


CanCreateDefectWorkflow
true


FunctionalRole
ITProduction


ParentFolderID
0900000000000000000000009674201


TransactionID
582492253

0900000000000000000000009674224
OP Install

false

/GetTasksResult>

</soap:Body>
</soap:Envelope>"

Hi,

Can you share your xml as a file because this forum automatically escape < character?

Or can you post it using Prefomatted text (</> icon)?

Regards,

@Yoichi PFAXML.txt (12.7 KB)

Hi,

Thank you for sharing.
Hope the following helps you.

Sample20201109-2.zip (3.8 KB)

Regards,

1 Like

@Yoichi I am getting each Task details, i want every tag of Task, like “TaskTypeID” ,“AttrValue”, “AttrName” etc… Can you help me to get these as well.

Hi,

I just added logic to get AttrName and AttrValue as the following.

Sample20201109-2v2.zip (5.4 KB)

Can you try to extract other elements referring above sample?

Regards,

1 Like

@Yoichi Thank you so much :slightly_smiling_face:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.