cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MetaAtribut calculated automatically

Guillaumebertro
Contributor

Hello,
Do you know how to make a metaAtribut calculated automatically according to 2 other metaAtributs ?
For example:
metaAtribut a=1
metaAtribut b = 2
metaAtribut c = metaAtribut a + metaAtribut b

Thanks

3 Replies

Try and search for the Macro: ~py9bBV9v4P70[Risk Level Absolute Matrix] - there you should see something in line with what your are trying to accomplish.

 

Guillaumebertro
Contributor

Do you have a concrete example of a macro?
Because I haven't found an example?
Thanks

hsoegaard
MEGA Partner
MEGA Partner

Hi, you need to add a macro to the calculated attribute that calculates the value. You also would need to change the type of the attribute to a virtual attribute. If you query the repository for MetaAttributes that has an Implemention macro attached, you should plenty of examples of how a calculated macro is set up