I created interface from Appian exercise which is in read only format and display's data in Test when default values are set
but when running the process model, there's no data displayed in the read only section.
What could be done in order to display data?
Discussion posts and replies are publicly visible
Please try this
docs.appian.com/.../recipe-set-the-default-value-of-an-input-on-a-start-form.html
What Stefan said and you could also use a!defaultValue() too.
https://docs.appian.com/suite/help/22.1/fnc_informational_a_defaultvalue.html
Depending on your use case this could be either on the Process Start Form tab of the start node or in the interface. AFAIK you can't use process variables in the Variables tab of the process model.
a!defaultValue( value: pv!car.make, default: "Ford" )
a!defaultValue( value: pv!car.make, default: "No make input recieved" )
I tried both link suggested above I didn't get how to proceed
I have made use of default values in the interface during test but when I run process model there are no values(as shown in 3rd image).
Could you please suggest
The values passed in the interface designer are for testing purposes only.
To feed default values into a start form, you need to assign values to the process variables in the model.
How to assign the values in the process variables
That is described in the link I shared above.
If this does not fit your goals, please describe what you want to achieve.
I want to make the test values used in the interface as the default values in the process model. for the start form.
This is not how it works. Test values are, well, test values.
Hi, you can keep default values in local variables or you can configure your process variables with some default value and when price will start ,you will see those values.
As Stefan has already said, this isn't how the test values work. You CAN have defaults, just not through the test interface section.
In the process model you could do default values a few ways and one way is in the Process Start Form tab of the Start node. As can be seen below there are two values and I've utilised a!defaultValue() to set the values if no input was received.
When I run the process model for debugging the default values show.