Feature #524
open
Definition of tree roots - uses raw names of resource
Added by Filip Měšťánek over 7 years ago.
Updated about 7 years ago.
Description
The "Definition of tree roots" for synchronization of tree nodes uses raw resource names of attributes. One example:
I have mapped attribute with IdmName = "IdmName" and resource name = "ResourceName". In the script, when I look up the attribute through account.getAttributeByName("IdmName"), it's not there. I need to use account.getAttributeByName("ResourceName").
The same goes with synchronization when I use a synchronization WF. The "icAttributes" list contains raw values.
- Tracker changed from Defect to Feature
- Target version set to Diamond (7.4.0)
- % Done changed from 0 to 100
Yes it behaves like this and it is a conscious behavior.
- In the case of roots search, the goal is to filter input data (not transformed).
- In the case of synchronization, the purpose is not to limit the possibilities (the transformation can always be done). Therefore, the attribute entering the sync is called "icAttributes" (referring to the attributes of the IC module).
- Status changed from New to Closed
- % Done changed from 100 to 0
We had a short consultation about this and the result is unclear if it really should be like that. We should reopen discussion about this topic in a broader team.
- Status changed from Closed to New
- Assignee changed from Vít Švanda to Filip Měšťánek
- Assignee changed from Filip Měšťánek to Vít Švanda
We came to conclusion:
- Don't do the transformation during root search. Maybe just write a warning near the window, that it is processing raw data
- Do the transformation for workflow
Also the transformation script should probably already contain attributes with its idm names, not the raw names from system - open to discussion
- Target version deleted (
Diamond (7.4.0))
Also available in: Atom
PDF