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
  • The reference to "form fields" in the documentation applies to forms created using the Forms Designer. It needs to be modified for SAIL forms, so we'll update the docs to clarify.

    Jin: Your understanding of the docs is correct when it comes to forms created using the Forms Designer.

    Angad's understanding is correct when it comes to forms created using SAIL Forms.

    With SAIL Forms, we've improved the behavior such that you're able to follow the best practice of querying your data from the database once to populate your CDT, then use it as the default value of each SAIL form field. So to support the use case described in the original post, we recommend that you either switch to using SAIL forms, or query for the data in a separate node before the user input task.

    We'll add the SAIL Form vs. Forms Designer clarification to the documentation.
Reply
  • The reference to "form fields" in the documentation applies to forms created using the Forms Designer. It needs to be modified for SAIL forms, so we'll update the docs to clarify.

    Jin: Your understanding of the docs is correct when it comes to forms created using the Forms Designer.

    Angad's understanding is correct when it comes to forms created using SAIL Forms.

    With SAIL Forms, we've improved the behavior such that you're able to follow the best practice of querying your data from the database once to populate your CDT, then use it as the default value of each SAIL form field. So to support the use case described in the original post, we recommend that you either switch to using SAIL forms, or query for the data in a separate node before the user input task.

    We'll add the SAIL Form vs. Forms Designer clarification to the documentation.
Children
No Data