Saving to 2 Different Document Libraries - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Saving to 2 Different Document Libraries

Last post 05-25-2023 03:25 AM by dapklp. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-24-2023 11:17 AM

    Saving to 2 Different Document Libraries

    I want to save a completed form (InfoPath > FormsViewer on SharePoint 2013 On-Prem) to 2 different document libraries. For the first time a record is saved, the rule says, IF State is blank (State is a field), then Set a field's value: State = "Vetting"; THEN Submit using a data connection: Main submit2 (a secondary document library I want to test with); THEN Submit a data connection: Main submit (this is the original document library where everything has been written to all along); THEN Close this form: No Prompt. Nothing is getting written to the Main submit2 document library although if I insert a separate action to just submit a record to Main submit2, as its own rule, it works. Am I missing something?
    Filed under:
  • 05-25-2023 03:25 AM In reply to

    Re: Saving to 2 Different Document Libraries

    The reason I was trying to do this is because the original document library is producing false "Rule Error" messages among other issues. Results using the above method to submit to 2 document libraries in the same rule were also mixed, so I changed my thinking. Just before the Vetting submit rule (described above), I created an identical rule but changed the Main submit to Main submit2 and removed the close form action. In its place I cleared the State field to return the form to the same condition the record existed as before this rule was triggered. I then cleared the check box so the next rule (the real Vetting rule) would trigger. This seems to have worked so far. I will do the same for the other submit rules and see if this holds up and report back later.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.