I have a question here. How if I’m having two different xml files but the elements inside are partially the same. The only difference is that my first file do not have the details about city and state, however my second file have the details on it. I’m gonna use the same workflow to execute both files. So what can I do to execute the program using the same workflow but with both XML files partially different on the details.
For example, I have insert the command to write out my city [write line text: "city : " +item.Element(“adrVal”).Element(“pad”).Elements(“cty”).Value.ToString] and state [write line text: "state : " +item.Element(“adrVal”).Element(“pad”).Elements(“ste”).Value.ToString]. But, the workflow failed while first file (no details on city and state) was being read.
Any step or command I need to perform out to prevent this problem?