This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Automatic update Object Property based on Changes to antoher Object

Hello everyone,
I have a problem, it is about automated changes of the properties of an object, if I add or change a property of another object, how does it work?

  • I did this using Property Calculator. The objects need to be related.

    1. Trigger update to 'other object' when 'this object' has changes

    Create a rule with event handler = BCIC.

    • Add the class of the object that you want to "listen" to.
    • Then at the bottom of this rule is "Update related object".
      • In the Conditions, you can set if you want to "listen" to changes only on one property. You can leave this empty if you want to listen to any changes on any properties.
      • Set the Related Object with the filters that match the other object you want to automatically change.

    2. Automatically calculate properties of 'other object'

    Create another rule that calculates your properties. This rule can be with event handler BCICF or BCIC. If you are using BCIC, it should be positioned after the rule you configured in first step. Configure it how you would normally set automatic values for properties of that object

    Whenever rule 1. is triggered, rule 2. will trigger

  • Thanks but can you please specify the first step for me? The rest is clear for me now

  • Can you provide example object names and be more detailed in your question, so I can refer to those same names when explaining the process to you?

  • Hello,
    I have now brought a few excerpts which shows my state of things, it currently does not work.
    The goal is that if I create a document of the class Akt Züp and specify an employee in the metadata field, the metadata field in the class Employee is updated and in akt Züp the Züp in which the employee was stored at the time of creation is entered, this should follow automatically after creation







  • In the metadata field of the Akt Züp, how is the employee entered? Is it a dropdown select of the Employee objects?

    "in akt Züp the Züp in which the employee was stored at the time of creation is enteredthis should follow automatically after creation"

    What is "the Züp"? Do you mean you want to add the document to the employee?

  • Exactly, the "Akt Züp" belongs to the object "Documents" and class "Akt. Züp", in the metadata field of the class "Akt. Züpt" can be selected by multi select of employees.

    The employee who belongs to the object type "Employee" and to the class "Employee" has a metadata field in which the "Züp" should be added automatically when a "Züp" has been created and the employee has been stored there
  • Hi,

    There is Project manager example available in Property Calculator documentations, which is presenting structure you will need: 3. Calculation Modes - Consulting Wiki - Partners - M-Files Community

    Note! Documentation is currently only available for partners.

  • Since both Akt Züp and Employee are objects, and point to each other, I would use Managed Properties instead:

    https://m-files.my.site.com/s/article/Using-Compliance-Kit-to-copy-properties-indirectly

    The documentation was hard for me to understand, but we managed to use it to solve a problem you are describing.

    Yellow should refer to your Employee object. Green should refer to your "Akt Züp" object.

    For you, I would try:

    Property = Züp  (the metadata field you want to automatically populate within the Employee object)

    Object type = Employee

    Class = Employee

    Reference Property = the property in "Akt Züp" where you are selecting employees

    Filter conditions: Class = Akt Züp

    You can test to see if it works, I'm not sure if it works when you have more than 1 employee in the metadata field of Akt Züp.

    You can try Juuso's link too, but I'm not a partner so I cant access the link

  • Finally worked, thanks for the help and the quick feedback