Skip to main content
October 25, 2024
Solved

Appian terminate process when user navigate to another URL

  • October 25, 2024
  • 12 replies
  • 0 views

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?

Best answer by stefanhelzle0001

If you use a start form, the process is only started once the user submits that form. If the user navigates away, nothing happens.

Keep in mind that Appian is not a UI toolkit by nature and all (most) design decisions are made on purpose to support the automation of business process operations. Off course, you can use Appian in a different way, but then might find yourself in a fight against the platform.

12 replies

stefanhelzle0001
Brainy
October 25, 2024

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.

October 25, 2024

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

stefanhelzle0001
Brainy
October 25, 2024

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?

karumurua531442
October 25, 2024

Hi [mention:23416453aa244cc798ba56a8280c2d31:e9ed411860ed4f2ba0265705b8793d05]  to be honest your approach is bit not clear 

November 6, 2024

Soweit ich weiß, gibt es dafür keine automatische Lösung beim Seitenwechsel. Meist hilft ein expliziter Abbrechen Button oder eine Logik mit Timern bzw. Statusprüfung im Prozessmodell. Dudespinner Erfahrungen sind natürlich ein ganz anderes Thema.