Refresh Screen Automatically Using BPM

Hi,

I’m just wondering if there is a custom code or BPM to trigger refresh page whenever my BPM condition is triggered.

The context here is, I create a Pre-Processing Method Directives BPM in Erp.Bo.Part.Update to prevent user changing Part Category if there are still stock exist in the inventory. If user tried to change it while the stock still exist, BPM will triggered and throw errors.

What I want here is, after the BPM trigger errors, it might refresh the page since after user tried to change the Part Category, do a save, BPM throw error, the Part Category Field is displaying the wrong/the rejected Part Category. So what I want is, after BPM Trigger Error, the Page will Refresh it Automatically hence the Part Category can changed back to their base/default part class without clicking the Refresh Button Manually.

Please help. I’m using On-Premise Kinetic.
Thanks!

Hi @Jeremia ,

I am assuming the UI you are referring to is “Part” and you are using Kinetic screens.

As an option you could build the logic into the UI by utilizing row rules, the dataset for inventory is already there so in theory you could utilise row rules to make the Part Category field Read Only / Disabled.

1 Like