Hi Evgeny, thank you again for looking over my problem.
I just found out that the ID for the dynamic attributes which can be defined in customizing under:
Customer Relationship Management->Marketing->Loyalty Management->Loyalty Programs->Define Dynamic Attributes can have the length 40.
But the condition that can be defined in customizing under: CRM Cross-Application Components->Rule Builder->Define Rule Policy Types can have lenght 30 only. So in other words, my attribute ID was to long.
No I have changed the dynamic attribute ID to Z_DEMO_DYNAMIC_ATTRI and changed all rules and conditions and refreshed the cache. But still the value stays initial (see log)
Do you know where I can make a debug to check why value for dynamic attribute is still initial? For the membership with ID 10000319 in table LOYD_MSH_MSDYN a value for attribute exists (see attachment 1).
Latest version of Log is:
Processed at 04/06/2013 11:24:03
Member Activity (Generic).Category = 'ACCRUAL'
Member Activity (Generic).Type = 'PRODUCT'
Member Activity (Generic).Card Guid = ''
Member Activity (Generic).Activity Guid = '0010001220'
Member Activity (Generic).Membership Guid = '10000319'
Member Activity (Generic).Member Guid = '8000001376'
Member Activity (Generic).Partner = ''
Member Activity (Generic).Program Guid = 'Z_DEMO_LOY_PROG'
Member Activity (Specific).Campaign = ''
Member Activity (Specific).Loyalty Points = '220.00'
Member Activity (Specific).Z_DEMO_DYNAMIC_ATTRI = ''
Reward rule group: Sales Order Accrual; Version: 001
Applicable: Yes
Reward rule: Sales Order Accrual; Version: 001
Condition met: Row #1
Action: Earn Points
Earned points 220,00, Redeemable, Loyalty Points expiring on 05.06.2013
Condition met: Row #1
Action: Update Attribute 1
Attribute Z_DEMO_DYNAMIC_ATTRI has been updated from to 220
Combinability: All
Reward rule group: Automatic Tier Level Change; Version: 001
Applicable: Yes
Reward rule: Automatic Change Tier Level; Version: 001
No condition met or BRF rule not executed
Combinability: All
Processing completed
Execution time for log point FETCH_RRG_CONTEXT: 186 ms
Execution time for log point FETCH_RRG_CONTEXT_DATA: 4878 ms
Execution time for log point EXECUTE_RRG_BRF_RULES: 2640581 ms
Execution time for log point FETCH_RRL_CONTEXT: 543 ms
Execution time for log point FETCH_RRL_CONTEXT_DATA: 4174 ms
Execution time for log point EXECUTE_RRL_BRF_RULES: 2991268 ms
Execution time for log point APPLY_COMBINABILITY_RULES: 135 ms
Execution time for log point EXECUTE_ACTIONS: 35219 ms
Execution time for log point SAVE_ACTION_TRANSACTIONS: 59943 ms
Execution server: nbg-bd-cd7_CD7_00; Work process ID (WPID): 7880