Use Case
Screen-A
Have text field and button to send value to Screen-B
Screen-B
Obtain value from Screen-A and display form based on obtain value.
Solution that I tired
1. Record Action: Does not work because can't send value to Process Model
2. Related Action: Does not work because It can send only static value. not a value from Screen-B
I search for some forums and there is solution of using starProcessLink but, It is limited to hyperlink. Not work as a button.
Maybe I have to create cardLayout to simulate it as a button and use startProcessLink inside?
Thanks!
Discussion posts and replies are publicly visible
Hello Sorasit
You will need to use a single interface and achieve this. Use show when conditions or milestone patterns to get your requirement done.
Is this form used to create new data or to update any existing data?
Hi,
To move between screens in Appian and pass parameters, you can use a process model with a!startProcess() linked to a button. This function can start a process that opens Screen-B and passes the value from Screen-A. Configure Screen-B to accept the process variable and display the passed value. This approach does not require a!startProcessLink() and works dynamically with button clicks.
a!startProcess()
a!startProcessLink()
Hi Konduru Chaitanya
Yes, Screen-B is use for create and update as well.
Depend on list of value on Screen-A
I'll try your solution later!
Hi SRM
I did implement a!startProcess() inside saveInto of buttonWidget()
After I click button on Screen-A. There is no screen transition.
It just start process on background.
Due to charactheistic of a!startProcess() that can't start chained form on Process Model.
Ways to Start a Process - Appian 24.1
Btw, How did you implement a!startProcess()?
a!startProcessLink( label: "Go to Screen-B", processModel: cons!YOUR_PROCESS_MODEL_CONSTANT, processParameters: { 'param1': local!valueFromScreenA }, startFormLink: true)
Note:
This link can be placed inside a card layout or any other component that supports links to visually represent it as a button.
Keep in mind, a!startProcessLink is designed for use cases where you want to take the user to a new interface related to a specific piece of information on the current interface, making it suitable for your requirement to move to Screen-B after a button click on Screen-A.
a!startProcessLink