Unable to write values into DB and display it in the records view

Hi,

I have a form with various fields enabled for users inputs. Values for two of the fields, submitted on and submitted by, are disabled for users and will be captured through functions. Functions i am using are today() and loggedInUser(). These work at the interface level ans show current date and users name every time the form is displayed. However, the values are not stored/written to the database after submission. They do not display in the records view either. 

I have configured the appropriate data type in the save input to parameter as well. How can i fix this?

  Discussion posts and replies are publicly visible

  • 0
    Certified Lead Developer
    in reply to sirishreddyr0001

    No worries if the form is too big - though sometimes it helps to come up with a smaller / example version of a form with similar requirements where the whole form can be posted here, it just helps in allowing other users to look into what the issue might be more quickly without as much guesswork.  But I think we got to the bottom of your issue anyway.

    Per your second question: yes, it's also possible to do the data collection in-process.  In old versions of Appian it was required, but SAIL forms give us a bit more flexibility.  I believe both ways are acceptable, and which one to use depends on the particulars of different implementations.  That being said, I find that when possible, it's far easier to manage data like this on the SAIL form and do minimal extra processing in the process flow - it's easier to troubleshoot, test, fix, etc.  But it will be worthwhile for you to experiment and learn both ways.

  • Thank you Mike. Passing the values in the SAIL form worked. Appreciate your help.