Skip to main content
Nintex Community Menu Bar
Question

Set Variables on new XML files being deposited into library

  • December 12, 2024
  • 1 reply
  • 11 views
  • Translate

Forum|alt.badge.img+4
  1. I have a library that houses XML files. 
  1. These files are retrieved from a Network Drive and through PowerShell and a Scheduled Task will deposit any new files located in this Network Drive and dump a copy into the SharePoint Library.
  2. Once any new files it will trigger the workflow to render the XML file content into a SharePoint list item. I have almost everything working, but right now I have the Set Variables at the start of the workflow with 

    but it is hardcoded in the value to a specified file for testing purposes EX: https://local/XMLFilesFromFactoryLogix/20241015114157.xml. How should I have it set to that it processes any new XML files into the library? Can I use a wildcard? (*)

Did this topic help you find an answer to your question?

1 reply

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2466 replies
  • December 13, 2024

Hi ​@jamvan,

Instead of adding the file to a variable, access it directly in the library using the Query XML action.
https://help.nintex.com/en-US/nintex2019/current/sp2019/Workflow/ActionsCore/ReadXML.htm

Set the XML source in the action as current item and the file will be read directly from the library. 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings