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

Question

Question

Updating Process Diagram Event/Gateway/Task Names Takes a Longtime

asked on October 26, 2022

I have a Forms process that has 934,151 total instances and 22,803 in progress instances. When I try and update an Event/Gateway/Task name it takes a really long time for it to complete. Most of the time it actually doesn't complete because my session ends.

Why does it take so long to make these types of updates? In my test environment it is almost instant, but I don't have the same number of instances in the system as I do in production. Does saving changes like have to touch each instance record in the database? Just trying to figure out what is taking it so long.

Forms version 10.4.4.444

0 0

Answer

SELECTED ANSWER
replied on November 7, 2024

Hi, this issue has been fixed on Forms 12.

You can see other changes from: Laserfiche 12 Changelog

Get Laserfiche Forms 12 package from: Laserfiche 12 - Downloads

0 0

Replies

replied on October 27, 2022

It may related to update the user task step name for the instances that are currently in progress at the user task step. Since the user task step name support using variables, it will update the active user task step name with the latest definition when save the process. 

0 0
replied on October 27, 2022 Show version history

Yesterday evening I tried just updating gateway and end event names and it still took a long time to save. What would cause that?

UPDATE: It looks like if I only update end and terminate events it only takes a few seconds to complete the save, but updating gateway names takes quite a while to save.

0 0
replied on November 22, 2022

Is there a different way to update the user task names, maybe a SQL script?

0 0
replied on November 23, 2022

The updating is performing in the backend via SQL queries, you want to have better performance when save the process diagram with such amount of instances right? We will check whether we can reproduce internally and investigate the solution to improve the performance. 

0 0
replied on November 23, 2022

That sounds great. Thank you for looking into it!

0 0
replied on November 24, 2022 Show version history

For the user task names you edited, do they use variables? We may potentially improve when the user task names do not use variables. But we are not sure whether that will address your issue. 

0 0
replied on November 24, 2022

Yes, most of them use variables. 

0 0
replied on November 24, 2022

Got it, we can reproduce the issue internally, but it will take some time for us to figure out the solution. 

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

Sign in to reply to this post.