Hi there! I'm trying to have the dropdown menu display the previous selection for my interview application I am working on. In the app, you are able to edit questions that have a few categories (categories, difficulty, etc) and I want the drop down's menu to have whatever the value was before being in the placeholder spot. So, for instance, if a question was marked as Medium and I wanted to change it too Hard, then the drop down in the new interface would have Medium in the place holder. Please let me know what to include I am super lost!
Discussion posts and replies are publicly visible
As per my understanding, what you are asking is for the existing value to be displayed in the form when clicked on Edit option.
You can use the same form. No need to create any conditions. Just pass the existing values in your Editing process model and you can simply update the value.
To be more specific
1. If you are using the record generated related action, you need not change anything.
2. If you are using data store entity and querying the data, use a script task with a query entity rule and fetch the existing data and update it. For this you will need a PV as a parameter which will get your PK into the PM from the summary page of your Question.
I hope this will resolve your issue.
© 2023 Appian. All rights reserved.