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?
Discussion posts and replies are publicly visible
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?
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.
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.
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
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.
Yeah. Looks like that is the only option for now. Thanks harshjan
Then, use a cardLayout to simulate a button.
Also you can use it in
a!richTextDisplayField( labelPosition: "COLLAPSED", value: { a!richTextItem( link: a!startProcessLink(), size: "MEDIUM", style: { "STRONG" } ) } ).
Use the parameter while using a a!startProcessLink.