Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

How to move between page with parameter being sent over?

Certified Associate Developer

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

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to Sorasit

    Hi,

    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.