Skip to main content
November 17, 2022
Question

Site - Start process and tasks

  • November 17, 2022
  • 4 replies
  • 1 view

Hello,

I have a site with an interface page as content. My interface nested other interfaces and the navigation through all interfaces is based on the logic of local variables. However, in some interfaces I use "a!processTaskLink" to run tasks on already started processes. My problem is: I want to open these tasks in the same tab and when I finish my task, I want to go back to the interface where I was. But, the actual behaviour is that when I finish my task, I go back to the main interface because the values of local variables are lost.

Does anyone know how to get around this problem?

Thank you.

    4 replies

    stefanhelzle0001
    Brainy
    November 17, 2022

    Appian does not persist the state of local variables. I recommend to open tasks in a new tab. Any other option becomes rather complicated.

    ritaf0005Author
    November 29, 2022

    Thank you Stefan.

    mikes0011
    Brainy
    November 17, 2022

    I agree, "new tab" behavior is simple and straight-forward.

    The only real other option I know of is building your own system by which to save internal interface "tab clicked" values by-user to a special database table, which can be loaded when a user first loads the interface again and can help direct default behavior of that particular interface.  It's doable, and doesn't perform badly, but requires in-depth and precise specialized coding.

    The Expression Guru
    ritaf0005Author
    November 29, 2022

    Thank you Mike.

    We will try a simple POC with your approach.