Forum Discussion

Soham's avatar
Soham
Ideator II
1 year ago

Variability Management

Hello All,
I created the rule inside the rule editor for a particular variability item. When I try to look this particular rule in the database perspective, there is one column named as 'definition' in the VM_RULE table. This column is mandatory column and it has the XML data of that particular rule. 

My question here is, I want to know the sequence of methods from UI side which are getting triggered too create such XML. Could you please help me out here ?

Thanks in advance.

8 Replies

  • Anonymous's avatar
    Anonymous
    Approved

    Hi,

    The XML in the 'definition' column of the VM_RULE table is generated when the rule is saved or applied in the Rule Editor. The process typically involves defining the rule in the UI, triggering the 'Save' or 'Apply' actions, which internally call methods that serialize the rule into XML format. To trace the exact sequence of methods, you may want to check the backend code or logs related to rule creation and persistence.

    Hope this helps!

  • Hello Soham ,

    Why you want to understand the sequence? want to modify any code? What is your requirement?

    definition column contains rule which you have enter in rule editor with xml format (condition is converting in to xml tag).

    Regards,

    Suhas 

  • angela's avatar
    angela
    Catalyst II

    Which Innovator version do you use? Variant Management changed a lot recently. 

      • angela's avatar
        angela
        Catalyst II

        Hi Soham,

        Aras unfortunately doesn´t provide an Innovator version anymore that I can use to check these kind of topics. I like your question, I always wanted to do more with VM. 

        Maybe partners or other subscribers in this forum can help out?