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?
rule execution while importing data
-
- Posts: 7532
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
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.
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