cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ninja86
Regular Visitor

Advanced Forms - Undo record submission

Hi, i am using advanced forms for users to create cases. The user clicks "new case" and the first form step loads, user can then click "next" to progress through the multiple form steps and they can also click "back".

 

But, what if the user decides half way through to start again for whatever reason. They may have selected a wrong option or something and likely use the back button on the browser. The user will not be aware they left a case half finished/abandoned and it will show in the list of open cases.

Is there a way around this? there is no obvious method to prevent this. I wondered if there is some sort of flag on the case table which indicates it was abandoned but i dont see anything....

4 REPLIES 4
rgx91
Resolver I
Resolver I

I'm also interested in a solution as well.

OliverRodrigues
Super User
Super User

An easy solution is to leverage the OOB Status Reason field, or even if this is a custom entity, you can create multiple statues / stages.. your case should be created as Draft and then you set it to Submitted in the last step of your Advanced Form

You can set the values via Advanced Form Metadata functionality 

 

In addition to that, you can then filter in the dataverse for cases by status, so you don't show the Draft ones, or keep them on a separate view/dashboard

 

You can also add a recurring Flow that will delete Cases in draft where Modified On is older than X days (30 or 60 days, or whatever suits you)




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

I see what you are saying, but the very first status reason for me will be "in progress" which the open cases list is using in its view criteria. Also, i need it submitted because on the next steps i have subgrids where records are added, so the case needs to exist first. Id settle for some type of warning popup when the user tries to navigate away, and maybe option to delete?

OliverRodrigues
Super User
Super User

You can also enable this on your Advanced Form: 

OliverRodrigues_0-1643197179711.png

I don't think you can customize the message (even though the option is there), however this only works when the form is "dirty".

Also, my concept of an in progress case is when the case is being worked on, but it was already submitted. So Draft should still be the first Status of your case record.




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (4,049)