The Configure Import Schedule is not working properly when the Sub-level filter criteria uses attributes created at the custom object itself. Works well with investment level attributes
STEPS TO REPRODUCE
- Go to Classic Administration > Studio > Objects
- Create a custom investment object: MyCustomObject. Ensure the Include In Hierarchies checkbox is enabled
- MyCustomObject > Attributes tab > Create a boolean attribute > MyCustomObjectBoolean
- Go to Classic Administration > Studio > Objects > Investment object > Attributes tab
- Create a boolean attribute > MyInvBoolean
- MUX > Projects > Create 2 projects with names: TestingHierarchy1 and TestingHierarchy2
- MUX > Investments > MyCustomObject
- Create 3 instances of MyCustomObject: MyCustomObject1, MyCustomObject2, MyCustomObject3
- Add the parent field to grid and set TestingHierarchy1 as parent of those custom object instances
- Go to MUX > Hierarchies > Create a hierarchy instance of Type Investment
- Edit the hierarchy > Actions > Configure Import Schedule
- Populate the following:
- Days field to Monday
- Import source: All investments and children
- Investments filter criteria:
- Type: Project
- Add filter: Name contains Hierarchy
- Sub-level filter criteria
- Type: MyCustomObject
- Add filter: Investment > MyInvBoolean > No
- Click Next
- You get a screens with the estimated total investments to be added: Total of 5
- Click Save and import now
- TestingHierarchy1 and TestingHierarchy2 projects to be added. MyCustomObject1, MyCustomObject2, MyCustomObject3 instances to be added as the MyInvBoolean field is set to No
- Edit the hierarchy > Actions > Configure Import Schedule
- Populate the following:
- Days field to Monday
- Import source: All investments and children
- Investments filter criteria:
- Type: Project
- Add filter: Name contains Hierarchy
- Sub-level filter criteria
- Type: MyCustomObject
- Add filter: MyCustomObject > MyCustomObjectBoolean > No
- Click Next
- You get a screen with the estimated total investments to be added: Total of 2
- Click Save and import now
Expected Results: TestingHierarchy1 and TestingHierarchy2 projects to be added. MyCustomObject1, MyCustomObject2, MyCustomObject3 instances to be added as the MyCustomObjectBoolean field is set to No
Actual Results: Only TestingHierarchy1 and TestingHierarchy2 projects are added.
Notes:
- If at step 17, Sub-level filter criteria, we use the MyCustomObject > MyCustomObjectBoolean > All then the import is OK
- If we edit the Configure import schedule, we change the Import source to Children of existing hierarchy and use the Sub-level filter criteria of step 17 (MyCustomObject > MyCustomObjectBoolean > No) the data to be imported is correct