Form Status - Set to Closed After 48 Hours
  • 11 Feb 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Form Status - Set to Closed After 48 Hours

  • Dark
    Light

Article Summary

Form Status - Set to Closed After 48 Hours

CLOSE ALL FORMS OPEN FOR 48 HOURS OR MORE (# OF DAYS CAN BE MODIFIED).

To install the unmanaged package, add the highlighted portion of the following URL to the end of your Salesforce Site URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4W000003CdVX

Here is an overview of the flow, with criteria set to Created Date >=48 hours (2 days) ago.

Within the ‘Manager’ tab on the left-hand side of the screen, select ‘FormAge’. You’ll notice a +2 within the formula. This equates to today = 2 or more days (48 hours) after form creation.

Modify this number to your preference (Ex: change to ‘+1’ to close forms after 24 hours).

IF (Today()>=DateValue({!$Record.CreatedDate})+2, “True”, “False”)

Modify the flow’s start time to your preference. Save and Activate.


Was this article helpful?

What's Next