Need to use link and submit

Certified Associate Developer

Hi All,

In my case, in the end of process model i am using a user input task in which i am using a recordLink which working fine but since i am not giving any submit true value to submit that form so it;s stuck 

can anyone help me with code in that interface where i can use both submit true and link.

Below is my code of that interface,

a!columnsLayout(
columns: {
a!columnLayout(),
a!columnLayout(
contents: a!cardLayout(
link: a!recordLink(
recordType: cons!TWM_RECORD_SITE,
identifier: ri!idSiteLocation
),
contents: a!richTextDisplayField(
align: "CENTER",
value: {
a!richTextIcon(
icon: "check-circle",
size: "EXTRA_LARGE",
color: "ACCENT"
),
char(10),
a!richTextItem(
text: "Success! Click to continue",
style: "STRONG",
size: "MEDIUM"
)
}
)
)
),
a!columnLayout()
}
)

  Discussion posts and replies are publicly visible