Hi Appian Devs, Please have a look on the interface snippets below where I have implemented a milestone bar:I have a milestone bar with 2 milestones, In the first milestone(which is default selected) when I click on the link to download contract link, I see the following link,Once I downloaded the file with the downloaded link, I got the file, after that, I will click on Milestone bar 2 for uploading the new version of the file as below:Now I uploaded the new version of the file as below:There is a button which replaces the current file to the uploaded file and makes it latest in the variableBut once I hit the button, It refreshes the milestone to the previous milestone as below:I want to retain the second milestone step even after the button click Please let me know the right directions for the same
Discussion posts and replies are publicly visible
Hi
It seems the variable used for milestone step is refreshing, so that it moved to first step.
While clicking Replace current file to uploaded file button, are you coming out of the user input task in the process and looping back to the same user input task?
If yes, make sure that the variable you are using for milestone step is mapped to pv! while coming out of the user input task, so that while looping to the same user input task, the value of step 2 is retained.
Basically, there are no processes or pv! or rule inputs, It is just a local variable which is acting as a switch to flip the milestonesIt is a same interface problem, not external interfaces
Please share your code with us here - be sure to use a Code Box to retain indentation and thus helping maintain readability.