Skip to main content

I have a few processing screens that I’ve created recently that I just noticed recently don’t update their progress until the processing is completely finished. For example, if I process 25 records, the progress bar will spin indeterminately with 25 ‘remaining’ until it has completely finished, and then all 25 will be ‘processed’.

This does not strike me as being normal behavior, but I wanted to check in to see if anyone else has experienced this or if I am doing something wrong. I am working with 22.209

Just curious if you have Process Delegate Suppression properties like as SuppressUpdate or SuppressMerge or other suppressions on?


Nope, wasn’t aware they existed.


I just tested one of my custom processing screens and I have the same issue. I just updated my libraries to 22R2 last week.


@Dmitrii Naumov 


@darylbowman we’ll check


Hi @darylbowman , I have been able to reproduce the issue also on a custom processing screen (tested in 22.205).

 

I will report this issue to our engineering team. 


@darylbowman I tested it one more time, but with the processing taking longer than 5 seconds to complete (the time it takes to update the window), and it is working fine. Can you confirm how long does it take to complete the processing in your case ?

 


I finally discovered what the issue was. I think in some cases, processing statuses are updated automatically, but in this situation, I had to use PXProcessing.SetError() or PXProcessing.SetInfo() to update the processing status of each record.

After this change, it behaves entirely normally.


Thank you for sharing your solution with the community @darylbowman !


I had the same issue.  Hence me being here right now.  I found that I was missing this line at the top of my processing method:

PXProcessing<ICSDiscountProgram>.SetCurrentItem(program);

By not setting the current item, it was just recycling the description of the first item in the processing list and not updating the counts.


Reply