Skip to main content
saifalik8679
Known Participant
June 15, 2022
Question

Milestone Bar is refreshing to the first milestone on the click of a button

  • June 15, 2022
  • 3 replies
  • 0 views

Hi Appian Devs, 
Please have a look on the interface snippets below where I have implemented a milestone bar:

I want to retain the second milestone step even after the button click 
Please let me know the right directions for the same


3 replies

anupriyas7352
June 15, 2022

Hi [mention:fee405773b344e1b8feabfe1753a4d6d:e9ed411860ed4f2ba0265705b8793d05]

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.

saifalik8679
Known Participant
June 15, 2022

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 milestones
It is a same interface problem, not external interfaces

mikes0011
Brainy
June 15, 2022

Please share your code with us here - be sure to use a Code Box to retain indentation and thus helping maintain readability.

The Expression Guru