Hello, I've created an interface with sail to replicate a form for a pr

Hello,
I've created an interface with sail to replicate a form for a process. The interface works fine, but when I click on the button submit the values of the various fields are not saved in the process variables (CDT) as I expect, someone can help me to understand why?
This is the sail expression
=a!formLayout(
label:"Enter your Apac Request Details",
instructions: "Please fill in the form below",
firstColumnContents: {
a!sectionLayout(
firstColumnContents: {
if(ri!errorStartDate = true (), a!textField(
readOnly: true, value: "The Start Date cannot be before today"
), a!textField(disabled:true()))
},
secondColumnContents: {
if(ri!errorEndDate = true (), a!textField(
readOnly: true, value: "The End Date cannot be before the Start Date"
), a!textField(disabled:true()))
}
),
a!sectionLayout(
firstColumnContents: {
a!pickerFieldUsers(
label: "Requestor",
...

OriginalPostID-133556

OriginalPostID-133556

  Discussion posts and replies are publicly visible

Parents
  • ... readOnly: true,
    required: true,
    value: loggedInUser(),
    saveInto: ri!requestor
    )
    }
    ),
    a!sectionLayout(
    firstColumnContents: {
    a!dateField(
    label: "Start Date",
    required: true,
    value: ri!StartDate,
    saveInto: ri!startDate
    ),
    a!dateField(
    label: "End Date",
    required: true,
    value: ri!endDate,
    saveInto: ri!endDate
    )
    },
    secondColumnContents:{
    a!dropdownField(
    label: "Start Time",
    required: true,
    value: ri!startTime,
    choiceLabels: {cons!TimeAmPm},
    choiceValues: {cons!TimeAmPm},
    placeholderLabel: {"--- Select the Start Time"},
    saveInto: ri!startTime
    ),
    a!dropdownField(
    label: "End Time",
    required: true,
    value: ri!endTime,
    choiceLabels: {cons!TimeAmPm},
    ...
Reply
  • ... readOnly: true,
    required: true,
    value: loggedInUser(),
    saveInto: ri!requestor
    )
    }
    ),
    a!sectionLayout(
    firstColumnContents: {
    a!dateField(
    label: "Start Date",
    required: true,
    value: ri!StartDate,
    saveInto: ri!startDate
    ),
    a!dateField(
    label: "End Date",
    required: true,
    value: ri!endDate,
    saveInto: ri!endDate
    )
    },
    secondColumnContents:{
    a!dropdownField(
    label: "Start Time",
    required: true,
    value: ri!startTime,
    choiceLabels: {cons!TimeAmPm},
    choiceValues: {cons!TimeAmPm},
    placeholderLabel: {"--- Select the Start Time"},
    saveInto: ri!startTime
    ),
    a!dropdownField(
    label: "End Time",
    required: true,
    value: ri!endTime,
    choiceLabels: {cons!TimeAmPm},
    ...
Children
No Data