Appian terminate process when user navigate to another URL

I have a list interface A added under Site, and once user click on each individual item in the list, it start a process P1 (no process starting form). In the process, it initially set some variables and then open an summary interface S1.

Now, as my site have A,B,C,D interfaces added as pages, I want to terminate process P1 once I jump out from S1 by clicking any of the A,B,C,D button on the navigation bar in main menu.

How do I achieve that?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    This feels like something you just would not do in Appian.

    Do you want to explain your use case a bit? I am sure we can come up with a working approach.

  • My site structure:

    Site ->

      |-- Case List

        |-- Case Summary (process, including view/update/create features)

      |-- Work List

      |-- Task List

    The thing is, I am combining View/Update/Create of a record type "Case" into 1 interface (Case Summary). In order to write the record type into database during create/update, I have to make an process to contain that interface. for example, when user try to create a Case by clicking on the "New Case" button I setup in the case list interface, it start the process, OPEN A NEW TAB, and show the interface with all empty fields. However, it is possible that user may want to quit the case creation. The best practice is, user click on a "Cancel" button I added in the interface, however, it might not be the case. User can either:

    1. enter a case list (or other urls) url directly in the browser address bar

    2. click on other menu items (eg. Work List and Task List) on the site navigation bar

    In both cases, I want to cancel the process

  • 0
    Certified Lead Developer
    in reply to danielh2593

    Seems like you are not using record actions. If this is the case, why?

    Do you use the start form feature in process models or an initial user input task chained to the start node?

Reply Children