Skip to main content
madhup0003
September 10, 2024
Question

Need to use link and submit

  • September 10, 2024
  • 3 replies
  • 0 views

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()
}
)

    3 replies

    konduruc733182
    September 10, 2024
    but since i am not giving any submit true value to submit that form so it;s stuck 

    Your answer is here. You need to provide a button to the user to click and define the submit parameter as true. In your case your process should still work fine as you have an exception defined so based on the time you have set, the next node would start. 

    But why are there so many red lines? can you please share the complete image, what kind of exceptions you have set?

    mikes0011
    Brainy
    September 10, 2024

    For the "final confirmation form" configuration, you should be making a choice, to either require a user button click (i.e. a "Close" button with submit enabled), OR a (short) timer and NO buttons on form (provide a record link like you're currently doing, in a style that navigates away from the task), and the timeout event will cause the process flow to move on to the following node (which might be what you're doing here, i can't really tell since you have so many process flows overlapping).  But you shouldn't do both, or else if the user waits until after the (short) timeout timer and they try to manually submit the form, they'll get a confusing (and non-configurable) error message.

    stefanhelzle0001
    September 11, 2024