Skip to main content
Closed

Detect the use of mass import/update through GUI in flow.

Related products:Software FactoryUniversal UIIndicium Service Tier
  • October 14, 2022
  • 5 replies
  • 71 views

Freddy
Thinkwiser
Forum|alt.badge.img+16
  • Thinkwise Local Partner Brasil

We have a solution that based on row changes an automatic calculation is triggered.  However when a user uses the mass import/update functionality in the GUI the first insert/update will trigger the automatic calculation. THis increases the risk of a deadlock. Is there a way to detect that a user uses the GUI import/update functionality so the automatic calculation can be turned off temporarely?

5 replies

Renée Evertzen
Moderator
Forum|alt.badge.img+4

Hey Freddy,

As far as I know there is no easy fix for this.

Perhaps you could consider moving the functionality from the trigger to a task, which could then be scheduled? By scheduling it, the automatic calculation can then be executed periodically instead of every time a record is inserted, which would fix the problem. The only downside being that the calculation is not executed immediately, but might be slightly delayed.


Freddy
Thinkwiser
Forum|alt.badge.img+16
  • Author
  • Thinkwise Local Partner Brasil
  • October 19, 2022

Hey Freddy,

As far as I know there is no easy fix for this.

Perhaps you could consider moving the functionality from the trigger to a task, which could then be scheduled? By scheduling it, the automatic calculation can then be executed periodically instead of every time a record is inserted, which would fix the problem. The only downside being that the calculation is not executed immediately, but might be slightly delayed.

It's already a delayed calculation, but the mass insert/update is a per row functionality and it takes longer than the interval for the calculation.  

Can you turn this into an idea?   


Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Software Architect
  • October 25, 2022
NewOpen

Jeroen van den Belt
Administrator
Forum|alt.badge.img+10

Unfortunately, this idea has not received many votes. Because we want to keep the focus on ideas that are in high demand in our Thinkwise Community, we are closing this idea.


Jeroen van den Belt
Administrator
Forum|alt.badge.img+10
OpenClosed