This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Stop processing rules after first match

Tags: None
(comma "," separated)
janko
Registered Member
Posts
10
Karma
0
Hi,

I have 127 search and update rules and it takes around 10-20 seconds to process all operations after import. Most of the rules are in the form of:
Code: Select all
If payee contains "xxx" and import status is 'P' and status is 'N' then set payee to "yyy" and set category to "zzz"

For the most part I would like to stop processing subsequent rules after the first rule matched. I expect this should speed up rule processing for me. Is this possible?

Thanks,
JanKo
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
Hi,

You wrote "For the most part I would like to stop processing subsequent rules after the first rule matched".

I think you would like to stop processing following rules ON AN OPERATION when a rule modify an this operation.

This doesn't exist and not really interesting. Indeed, a rule is applied by an SQL order. So, the all operations are modified in one SQL order.

I agree with you, performances could be better. I will investigate to find this could be done. If you can provide me an anomymised skg file, this could help me.


Skrooge, a personal finances manager powered by KDE
Image - PayPal


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]