Question
Expression There was an error in an expression in User Input Task at: Neither Variable(s) nor rule(s) found : contents
Hi everyone
i have an issue that i don't understand i create a user input task with an interface , but when i m trying to save the process , it is throwing an error of type : Expression There was an error in an expression in User Input Task at: Neither Variable(s) nor rule(s) found : contents .
What does it mean if someone know ??? and How i need to fixed that ?? i attached my code of the interface if it is helping
a!localVariables(
local!currentStep: 1,
local!remark,
a!formLayout(
label: "Task",
contents:{
a!sectionLayout(
contents:{
a!sectionLayout(
label: "",
contents: {
a!radioButtonField(
label: "בחר פעולה",
labelPosition: "ABOVE",
choiceLabels: {"העברה לחיתו×%9D", "העברה לבדיקה ×%A0וספת", "דחיה"},
choiceValues: {1, 2, 3},
saveInto: {},
choiceLayout: "STACKED",
validations: {}
)
}
)
}
),
a!sectionLayout(
contents:{
a!columnsLayout(
columns:{
a!columnLayout(
contents:{
a!paragraphField(
label: "הערה",
labelPosition: "ABOVE",
value: local!remark,
saveInto: local!remark,
refreshAfter: "UNFOCUS",
height: "MEDIUM",
validations: {}
),
a!buttonArrayLayout(
buttons: {
a!buttonWidget(
label: "שמור",
saveInto: {
a!save(ri!remarks.Remark,local!remark),
a!save(ri!remarks.Canceled,false()),
a!save(ri!remarks.Date_Created,now()),
a!save(ri!remarks.Created_By_User,user(loggedInUser(),"username")),
a!save(ri!remarks.Created_By_GroupName,group(132,"groupName"))
},
style: "NORMAL"
)
},
align: "START"
)
}
)
}
)
}
),
{
a!localVariables(
local!selectedTab: 1,
{
{
choose(
local!selectedTab,
{},
{},
{
/* Replace this rich text with the component or rule that should populate this tab */
a!richTextDisplayField(
labelPosition: "COLLAPSED",
value: {a!richTextItem(text: "The contents of the third tab would go here", style: "EMPHASIS")},
align: "CENTER"
)
}
),
{
/* If using this tab style in a headerContentLayout, *
* remove header, put expression below in the contents parameter, *
* and set backgroundColor to transparent. Then, on the parent *
* cardLayout, set showBorder to false and showShadow to true. */
a!localVariables(
local!tabs: { "פרטי המבקש", "פרטי הבקשה", "×%A0ת×%A0וי דירוג והמלצה","מסמכי הלקוח" },
local!activeTab: 1,
a!cardLayout(
contents: {
a!cardLayout(
contents: {
a!columnsLayout(
columns: {
a!forEach(
local!tabs,
a!columnLayout(
contents: {
a!cardLayout(
contents: {
a!richTextDisplayField(
value: {
a!richTextItem(
text: local!tabs[fv!index],
color: if(
fv!index = local!activeTab,
"STANDARD",
"ACCENT"
),
size: "STANDARD",
style: if(
fv!index = local!activeTab,
"STRONG",
"PLAIN"
)
)
},
align: "CENTER"
)
},
link: a!dynamicLink(
value: fv!index,
saveInto: local!activeTab
),
padding: "LESS",
showBorder: false,
decorativeBarPosition: "BOTTOM",
decorativeBarColor: if(
fv!index = local!activeTab,
"ACCENT",
"#fff"
),
accessibilityText: if(
fv!index = local!activeTab,
"Selected Tab.",
"Unselected Tab. Press enter to select tab."
)
)
},
width: "NARROW"
)
)
},
marginBelow: "NONE",
spacing: "NONE"
),
a!cardLayout(padding: "NONE")
},
padding: "NONE",
showBorder: false
),
a!cardLayout(
contents: choose(
local!activeTab,
{
/* Replace this rich text with the component or rule that should populate this tab */
rule!PA_Reusable_Client_details(ri!customer)
},
{
/* Replace this rich text with the component or rule that should populate this tab */
rule!PA_Reusable_Information_Credit_Request(ri!creditRequest)
},
{
/* Replace this rich text with the component or rule that should populate this tab */
rule!PA_reusable_interface_DB_Pratiks_data()
},
{
a!sideBySideLayout(
items: {
a!sideBySideItem(
item: a!documentViewerField(
label: "Document Viewer",
labelPosition: "ABOVE",
document: 5889,
height: "MEDIUM"
)
)
}
)
/* Replace this rich text with the component or rule that should populate this tab */
}
),
padding: "EVEN_MORE",
showBorder: false
)
},
padding: "NONE"
)
)
}
}
}
)
}
},
buttons: a!buttonLayout(
primaryButtons: {
a!buttonWidget(
label: "Go Back",
value: local!currentStep - 1,
saveInto: local!currentStep,
showWhen: or( local!currentStep = {2,3} )
),
a!buttonWidget(
label: if( local!currentStep = 1, "Next", "Go to Review"),
value: local!currentStep + 1,
saveInto: local!currentStep,
showWhen: or( local!currentStep = {1,2} ),
validate: true
),
a!buttonWidget(
label: "Onboard Employee",
submit: true,
style: "PRIMARY",
showWhen: local!currentStep = 3
)
}
)
)
)