What is Dependents and Precedents in Application?

Anybody can explain What is Dependents and Precedents in Application?

  Discussion posts and replies are publicly visible

  • 0
    Certified Associate Developer
    Lets understand this concept with an example

    Suppose we have a code where we have some logic like

    MainForm(

    rule!ParentItem( rule!childItem)

    )


    Here for rule ParentItem, The dependent will will be MainForm and precedent will be rule childItem. Similarly for ChildItem the dependent will be Parent Item and MainForm but no precedent as its the last rule and its not calling any other component or rules

    In short for a specific object, all those objects which are lined up before calling that object are called as dependent and the objects which are called from that object is being called as precedent.


    Understand with this

    A->B->c->D

    Here for C the dependent will be A and B and precedent will be D.
    Similarly for B, Dependent will be A and precedent will be C and D


    This both concept is being used at the time of identifying parent of child objects from particular rule. Suppose you have a rule file where you found that some changes are required inside the current rule as well as its parent rule.i.e from where it is being called. Then to identify its parent, You will look into that rules dependent list and you will easily got them.



    Hope this helps
  • 0
    Certified Lead Developer
    Hi Tirumala !

    Dependents are objects that depend on the selected object. For example, a data store is a dependent of a data type because the data store references the data type.

    Precedents are objects that the selected object relies on. For example, an interface calls a constant. As a result, the constant is a precedent of the interface.

    Please visit the below link for more details :

    docs.appian.com/.../Trace_Relationships_for_Impact_Analysis.html

    Thanks,
    Ravi.