Apply the Incomplete Submissions Expiration Days filter to a specific form

Hi-
Curious whether anyone has found a way to apply this filter to a specific form. I checked with Support and this filter isn’t set up to accept form_ids like some of the other filters.

gform_incomplete_submissions_expiration_days

They suggested looking into modifying the query via gform_purge_expired_incomplete_submissions_query.

Before I dig any further, was just wondering if anyone else has made this adjustment or one like it.

Thanks!!
Spencer

The $form argument is not available to that filter.

As suggested, the gform_purge_expired_incomplete_submissions_query filter can be used to change the ‘from’ date based on the form ID, and you can limit the where by including a form ID. You would need to handle all the logic in your function.

2 Likes

Pushing the word ‘adjustment’ to a little further than its common definition :stuck_out_tongue: , Gravity Flow was developed with the core concept that each form has a unique set of requirements during both the submission and post submission process. A no-code approach you might want to look at to have granular control over expiration and per-form processing could include:

  • Configuring a User Input step for the entry creator to continue their submission process. Your initial form submission could be as small as name/email or generated via some other form of automation.
  • The confirmation could use the workflow_entry_url as part of its’ redirect for the user to move into the workflow seamlessly.
  • Steps can have their own conditions to start, or routing based on expiration as well as reminder notifications (wait X days, send every Y days thereafter)
  • If you want to delete entries for certain forms in certain scenarios, the delete an entry step type of the Form Connector extension can handle it without customizing the query code.

Cheers,
Jamie

Appreciate the response, Chris.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.