Webmerge Integration Subform Only

Comments

7 comments

  • Avatar
    Tony Ruth

    Hey Matt, would you be able to elaborate on this a bit more?

    Are you saying that the parent form will be updated many times after the initial merge is performed and they don't want to keep getting new documents unless something has changed at the subform layer they care about?

    0
    Comment actions Permalink
  • Avatar
    Matt Parks

    Client has a main form with multiple subforms. The record is assigned multiple times to different users for additional subforms to be added and then resubmitted again. 

    Each subform needs to be sent to webmerge endpoint only one time, not every time the record is updated. So when a second or third subform is created all of the prior subforms are sent to the endpoint again thus creating duplicate merges.

    0
    Comment actions Permalink
  • Avatar
    Tony Ruth

    Thanks for the follow-up Matt, a few more questions for you.

    1. Are the additional records made in separate subforms, or more records added to the same subform?
    2. Does each merge go to the same place?
    3. Do you have to send the merge on every upload (1 per subform).. or would you prefer not to merge until all subforms have been completed and send everything at once?

    I have a few ideas, but want to see which direction you need to go.

    0
    Comment actions Permalink
  • Avatar
    Matt Parks

    More records are added to the same subform. 

    Here's an overview of the actual process.

    The main form is an overview of a field job with contact info, it is assigned to a different tech every day after the initial and subsequent submissions to add various subforms that require multiple records. The one in particular we are looking to merge with webmerge is a moisture log where a tech enters moisture readings daily. The daily moisture log would then be emailed to the office via pdf upon submission through webmerge. As of now, every time the main form is submitted, every multiple subform is remerged thus creating duplicates.

    The merge does go to the same place as long it is the same subform. Moisture logs, Field estimates, Work orders, etc.

    They would prefer to have each subform merged daily upon every upload.

    0
    Comment actions Permalink
  • Avatar
    Tony Ruth

    Ok, cool I think I get it now. So you only want the new additions in each section sent out.. rather than all of the records added to date?

     

    Each different section actually creates a different document output (which includes the parent level detail) but only the new work done that day?

    0
    Comment actions Permalink
  • Avatar
    Matt Parks

    Yes all that is correct.

    0
    Comment actions Permalink
  • Avatar
    Tony Ruth (Edited )

    Hey Matt, I discussed this with a colleague of mine and we believe the way to tackle this at a high level is to have a status field inside each of your subforms (can be hidden from the users).

     

    After a successful merge those fields would be updated with a value to indicate they have already been merged and don't get reprocessed on the next update. Using logic within the merge template to dismiss the flagged records, or another data processing solution you can only process the fresh data to populate the template as desired.

     

    Let us know if this is something you would like help with and I would be happy to discuss in a bit more detail.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk