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
You cannot capture this information on the form -- you will need to use a script task to capture.
Here is documentation on the script task: https://docs.appian.com/suite/help/19.2/Configuring_the_Script_Task.html
You will want to configure your functions like today() and loggedInUser() in the outputs section, and save them to a process variable field that can then write the data entries to your data store.
I have used the script method to capture data through the process. However, i also wanted to display these values in the interface. Was wondering if there is a way around it. Maybe i will display them and at the same time use the script to collect&write it to the database.
Thank You.