I create a maintenance form on almost every process so I can change the Starting Form in the Message Start Event if I don't want end users to complete it during a time that I might be making updates or I'm about to turn of the routing service, etc.
@████████has a great suggestion as well, but you would have to set it up on each form.
At a district I was at a few years ago, I would redirect the URL in IIS. It's been a while, but I pulled these directions from Copilot and it looks correct. I haven't tested it here; we have an auto redirect for all of our sites if a system is offline. I think this should get you what you need.
To create a redirect for a web address in IIS for Laserfiche Forms (self-hosted), you can follow these steps:
-
Open IIS Manager:
- Press Windows + R, type inetmgr, and press Enter.
-
Select Your Site:
- In the left-hand Connections pane, expand your server’s node and then expand the Sites node.
- Click on the site where Laserfiche Forms is hosted.
-
Add a Redirect Rule:
- In the middle pane, double-click on the URL Rewrite feature.
- In the Actions pane on the right, click on Add Rule(s)....
- Select Blank rule and click OK.
-
Configure the Rule:
- Name: Give your rule a name (e.g., RedirectToHttps).
- Requested URL: Choose Matches the Pattern.
- Using: Select Regular Expressions.
- Pattern: Enter (.*) to match all URLs.
-
Set the Redirect Conditions:
- Click on Add... under the Conditions section.
- Condition input: Select {HTTPS} from the dropdown.
- Check if input string: Select Matches the Pattern.
- Pattern: Enter ^OFF$ to match non-HTTPS requests.
- Click OK.
-
Set the Redirect Action:
- In the Action section, set the following:
- Action type: Select Redirect.
- Redirect URL: Enter https://{HTTP_HOST}/{R:1}.
- Append query string: Select Yes.
- Redirect type: Choose Permanent (301).
-
Apply the Rule:
- Click Apply in the Actions pane on the right.
-
Test the Redirect:
- Open a web browser and navigate to the HTTP version of your Laserfiche Forms URL to ensure it redirects to HTTPS.