rule execution while importing data

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
greg
Posts: 124
Joined: Sat Apr 23, 2005 12:46 am

rule execution while importing data

Post by greg »

I have a calculated attribute PhoneExtension and the following rule to define it

If (Staff.PhoneNumberOffice WAS CHANGED OR Staff IS NEW ) AND Staff.PhoneNumberOffice CONTAINS '9845' Then
Staff.PhoneExtension=CHARS_FROM_RIGHT(Staff.PhoneNumberOffice,5)

This rule works every time when PhoneNumberOffice attribute is changed but it does not calculate PhoneExtension when I import data, including PhoneNumberOffice from a file. What am I doing wrong?
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Did you tick "Validate data" checkbox when you were importing data?

This is what happens when you import data:
1. When "validate data" is not checked rules are not executed (UNLESS imported data has references) - as a result calculated attributes are not calculated. However, import happens much faster.
2. When "validate data" is checked all rules are executed as usual, however, import happens much slower.
Aware IM Support Team
Post Reply