In the data above i want to replace/edit text in attribute field like “_RoleType”, “_Type” in XPath <Contact_Point>, but I am able to change the data in first one only not in the second once as both are same.
Kindly suggest how can I change it in both the Xpaths.
please share the detailed texts / statements from the assign activity
and details from the variable panel
Thanks
it looks like you ommited the First() statement when initializing xeCPEmail
And xeCPEmail is not of Datatype XElement.
Just relook on demo xaml, as it is already implemented and running
Let me show you what is happening right now. Below is the snip of XML I am using and I need to change the _Value for _Type=“Email” Marked in Point-1 and Point-2. But when I use the suggested code above it replaces only for Point-1 as obviously we are using .first()
So the issue I am facing is how to change both.
XML before:
just debug it to find out what is happening, as it was working on my end successfully
working with the immediate panel is very helpfully for such analyzes
give a try with the other statement as well
Thank you so much for all the help, It worked for me when I redid it in a new process. This small piece of thing was blocking my whole process, and just because of you I am able to complete this. Really appreciate you help!!