You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Recommended method for displaying a maintenance message on a forms process

posted on May 20, 2019

How does everyone put a single processes into maintenance mode? If I un-publish, I don't think there is any options to display a maintenance message.

I tend to swap the starting form out with the a maintenance form, but when I do this, if I have any save to repository tasks that use the Save the form at process step option selected and I open those tasks, they lose and forget all their original configurations.

0 0
replied on May 20, 2019

I like creating a new form for a clean maintenance page and not making any mods to the primary, but I guess another idea would be to add a forwarder to the JS and forward to another process which would be a shared maintenance process.

0 0
replied on May 20, 2019

You can always hide or show a field for the maintenance message. From there it is just changing the hide (normal) or show (when in production).

Also, Jared is right on hiding the submit button. To hide the button, you can use the following code.

$(document).ready(function(){
$('.Submit').hide();
});

When back in production add a // in front of the second line or all three lines.

0 0
replied on May 20, 2019

Could you have a hidden page on the form with the maintenance message? When you want to load up the form in maintenance mode, set the default to that hidden field to true, hide the rest of the form and only show the maintenance message. You could hide the submit button also. 

In normal use, the maintenance field would be false and the normal form would show. Since it's the same form, the rest of the process should be fine. 

0 0
replied on May 20, 2019

It is tough to do this when sections already exist on the form as I think you would have to create special rules to hide each section.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.