Skip to main content
varunb579494
June 8, 2022
Question

Showing new interface on click of button through process model

  • June 8, 2022
  • 8 replies
  • 0 views

Hi 

I am trying to build a use case where user clicks on a button in UI and that redirects the user to a new interface leaving current interface in same tab.

I am trying to implement this using a!startProcess() in saveInto parameter of that button. Calling the process which has start node, user input task(containing new interface)- assigned to pp!initiator, then end.

When I click on button, the process triggers successfully but UI doesn't redirect to that new form in the process model called. And process keeps waiting for the user to complete the task.

Can someone help what I might be missing?

8 replies

stefanhelzle0001
Brainy
June 8, 2022

a!startProcess() starts the process in the background. Keep in mind that we build process applications in Appian. And user interfaces are part of such a process, or part of a record.

Said that, what is your use case?

varunb579494
June 8, 2022

I want to show a new interface on click of a button which is in another interface. When that button is clicked the old interface should disappear and new interface should appear.

The button is supposed to perform action so form should be called through process model.

stefanhelzle0001
Brainy
June 8, 2022

Then, use a cardLayout to simulate a button.

harshj0001
June 8, 2022

hi varunbawa,

I think you did not apply the process channing into your process model and for navigating to another page you should use a!startprocesslink().

I think it will help you.

varunb579494
June 8, 2022

I have activity chaining enable and a!startProcessLink can be used on image, icon or text link only. I am not able to configure a!startProcessLink in saveInto of button, it only accepts a!startProcess

harshj0001
June 8, 2022

If you really want to navigate to another page, then you should use card layout instead of the button. You can simply modify the card to look like it as a button.

In my opinion, this is the good option for the navigation.