Need to get the document name from a ruleinput

Hi,

As, I'm trying to fetch the document name using ruleinput(CDT linked). But i'm getting the following error

ERROR:

The passed parameter(s) are of the wrong type. Received the type List of Variant.

I have achieved this by calling the same data from an Expression rule - HD_getEmpDetailsbyId (Commented in the below code) but i need to get the document name when calling from the Rule Input

CODE:

a!localVariables(
local!getempdetails: rule!HD_getEmpDetailsbyId(
id: ri!id
).data,
local!emp: ri!employee,
a!sectionLayout(
label: {
/*"" & document(local!emp.resume,"name") ,*/
"" & document(local!getempdetails.resume,"name")
},

Thanks in advance

 

  Discussion posts and replies are publicly visible