Hi There, I was wondering if I could get some clarification around so

Certified Associate Developer
Hi There,

I was wondering if I could get some clarification around something in the documentation here: forum.appian.com/.../Adding_Node_Inputs_and_Node_Outputs

Specifically this statement:
"Expressions for node input values are evaluated before expressions on the form. If the default values of form fields are mapped to node inputs, then they are evaluated at the same time as the node inputs. Therefore, they must not reference other node inputs."

If I'm understanding this correctly this means that input parameters on forms cannot be used for any default values on any forms - however this goes against what I'd thought were several Appian best practices and causes some very significant technical problems when displaying database data on a form.
Can anyone clarify what, exactly, is meant by the above statement and if I've misinterpretted it?...

OriginalPostID-111545

OriginalPostID-111545

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer
    Hi David,

    I'm not sure I understand how what you said is different from my understanding of the documentation. If I want to display 10 values from a CDT that I fetch from a database I would create a single input parameter, set it's value to the appropriate query rule and then reference that single input parameter from all 10 fields.

    If I understand what you're saying that shouldn't be done and what we have to find a different way of getting the data. Is that correct?
Reply
  • 0
    Certified Associate Developer
    Hi David,

    I'm not sure I understand how what you said is different from my understanding of the documentation. If I want to display 10 values from a CDT that I fetch from a database I would create a single input parameter, set it's value to the appropriate query rule and then reference that single input parameter from all 10 fields.

    If I understand what you're saying that shouldn't be done and what we have to find a different way of getting the data. Is that correct?
Children
No Data