Skip to main content
Archived

Add <thisAttributeName> as operator to Attribute transformers

Related products:Transformers
siennaatsafe
gbj1717
maryse_bucking
  • siennaatsafe
    siennaatsafe
  • gbj1717
    gbj1717
  • maryse_bucking
    maryse_bucking

maryse_bucking

Often I need to recalculate attributes based on its own values. Sometimes the fields are basically the same, and therefore the formula is the same. But because the AttributeFieldName is different, every time I copy the formula, I also need to adjust for the changing fieldname. Which can easily introduce errors, especially when you have a lot of fields.

Why not have an operator which specifies the value of the current field. That way in the AttributeManager would look something like:

FieldA conditional value

if <thisAttributeName> has a value then @Value(<thisAttributeName>)

else if 10<@Value(CheckField) then 'G'

else null


FieldB conditional value

if <thisAttributeName> has a value then @Value(<thisAttributeName>)

else if 11<@Value(CheckField) then 'G'

else null


instead of:

FieldA conditional value

if FieldA has a value then @Value(FieldA )

else if 10<@Value(CheckField) then 'G'

else null


FieldB conditional value

if FieldB has a value then @Value(FieldB )

else if 11<@Value(CheckField) then 'G'

else null

2 replies

ebygomm
Influencer
Forum|alt.badge.img+39
  • Influencer
  • March 10, 2021

This is already possible by using @CurrentAttribute()


LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • April 5, 2025
OpenArchived

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings