Search This Blog

Wednesday, July 18, 2012

Optimizing performance: 37s -> 0.3s

There have been introduced important performance optimizations in AMODIT 1.7. We have tested performance using database with over 300.000 cases, 30 procedures and complex forms.
We have found several bottlenecks. One of examples is showing list on cases with different permissions. Before optimization in some situations getting list of cases was taking up to 37 seconds. We have realized that there were some operations (checking permissions) which were not necessary. When number of cases was small it did not make any difference. But with bigger numbers of cases it became important.
However everything can be optimized when you can modify source code. Our developers did great job optimizing whose operations. Now for the same data showing a list takes just 0.3s, which is great result.

Monday, July 9, 2012

Signing, forwarding, form validating etc.


There are some small changes we have introduced in AMODIT 1.6.8 (which will be perhaps 1.7 stable version) in area of signing and forwarding.
The point is you sometimes want to make some manual rules to accept or reject using just one click. Rejecting is simple but when you want to accept from rule there are several options. You may want to sign one field on a form and then change stage of case. Problem is that you may want to have some required fields.
So if you put simply:

SignField("FieldName","Some comment");
ForwardCase("Someone","New stage");

If there are some required fields empty then you will get signature but forwaring will fail (and show proper explanation to a user). So this is not something you would like.

So there are two new changes:
1. Function IsFormValid() which returns if all required fields are filled-in. So you can write:

if (IsFormValid()) { SignField("FieldName","Some comment"); }

2. You can choose to define rules by just clicking checkbox "Sign case after successful rule evaluation" and choose a field (till now it was possible to sign whole case only).

Friday, July 6, 2012

AMODIT and SharePoint in National Defense Academy

Bartosz Biernacik from the National Defense Academy has published a document "Selected aspects of IT tools usage for achieving IT security in organization." This document is based on experience with SharePoint and AMODIT systems.

Full article in Polish can be found HERE.