We have a process wherein user completes one task and another task is automatically getting accepted to them. When user clicks the end button they are not able to see anything and new task is opened for them, This makes a confusion in order to understand whether the task was closed or not and the task that they are seeing is the new task or the same old task. Hence, As a solution to it we are looking for some kind of message display or something similar that can tell the user that your task is successfully closed. Can someone please help here? Thanks in advance
Discussion posts and replies are publicly visible
I assume you're doing a loop to the same form, so the PM returns to the same exact user input task.
You could pass a parameter that includes whether the last input was completed successfully. By default it would be false.
You can then put almost any component you want at the top of your interface with a showWhen set to only appear when that parameter is true. That serves as a message to let the user know that this is a new form. You can then set an extra save() inside each other component's saveInto to set it false again, so the message disappears.
(It might cause an awkward jump now that I think about it; you might not want to use showWhen, but a component that is always visible, but read-only and usually with an empty string. That might keep the other interface components from jumping around your screen.)
You can do a read-only text field, a richText, a boxLayout that usually has nothing in it, a card layout that usually has nothing in it, a nice billboard layout that only sometimes features an overlay with text. Basically anything, and have text that says "The last one you did has been entered successfully!" It will take a click / user interaction to make it go away, but no more user interactions than they would have had to do anyway.
© 2022 Appian. All rights reserved.