Invalid Content ID

Hi All,

I am getting Expression evaluation error "Invalid Content ID"in below-rule, at a!applyComponents [line 3]. can any one has any idea on it. below i sthe rule -

load(local!files: ri!files,
local!confirm: false,
{a!applyComponents(
function: rule!CCAR_CP_multiFileUploadRenderField(
files: ri!files,
label: rule!APN_replaceNull(ri!label, "Files"),
labelPosition: ri!labelPosition,
target: ri!target,
index: _,
taskId_int: ri!taskId_int,
changeLog_cdt: ri!changeLog_cdt,
changeRequestId_int: ri!changeLog_cdt.changeRequestId_int
),
array: if(
or(
rule!APN_isEmpty(
ri!files
),
count(
ri!files
) = 0
),
{
1
},
{
enumerate(
length(
ri!files
) + 1
) + 1
}
),
arrayVariable: null
),
rule!HSBC_booleanField(
optionalLabel: "Please confirm that the " & if(count(ri!files)>1, "files are", "file is") & " not highly restricted",
labelPosition: "ADJACENT",
helpTooltip: cons!CCAR_LAB_DOCUMENT_RESTRICTION_INSTRUCTIONS,
required: true,
boolean: local!confirm,
showWhen: and(not(rule!APN_isEmpty(difference(ri!files,local!files ))) , not(rule!APN_isEmpty(ri!files)))
)
}
)

 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data