Custom button flow crashes after running it 2-3 times

Hi!

I need some input on an issue I’m facing. I have built a portal with a table portlet that has a custom button flow connected to it. When I run it the first time, it works perfectly. However, when I run it a second or third time, it crashes for some reason.

Here’s how it looks when I run it the first time after selecting a row. The picture on the right shows how it looks when I run it again on another row directly after the first one.

Do you have any suggestions on why this might be happening?

BR,

Viktor

Hi Viktor,

in your start step you should have the table called InputTable with the columns you would like to transfer

Depending on the version of portal it also used to be called InputTbl in older versions (if memory serves me), best way to check what is transfered when clicking the button is to open Networking in the browser dev console:

(Unless your portal is using NG client…then it wont show it anymore but then its InputTable..for sure :slight_smile: )

Hope this helps!

B R
Ivan

This helped a bit. When I run it in developer mode (Ctrl + Shift + I) in Edge, there is no problem; I can run it multiple times consecutively. However, when I close developer mode and run it normally, it crashes again.

I got these errors from the DevTools.


?

When I land on this page, I press return and this error “pops up”

BR,

Viktor

But did you change the start step of the flow the button is running from projOverviewTbl to InputTable / InputTbl?

Yes, I did as you suggested.

Hmmmm so weird (why would it work with the dev mode on?)

What if you just put a “hello world” user step right after the start step?

Now it works fine. I tried the “Hello World” check, and it worked out. After removing the user step, everything started to function as intended.

I really appreciate your help. Thank you!

Best regards,

Viktor