Hey all,
I have a question regarding adding an attachment field from a form to IDMDocument.
I have a custom attachment Field called "ResourceLookupAttachment", however when I invoke Create IDMDocument in the Exit rules under my Action, It is not populating the name of the actor that submitted the attachment. This essentially leads to the initiator to not be able to view their documents submitted under their own profile in Mingle.
Please see link of screenshot below to see how the Document is displayed in IDMDocument Business class when the actor attaches a document in the custom action form:
/resized-image/__size/320x240/__key/communityserver-discussions-components-files/78/pastedimage1729870677859v1.png
As you can see from the screenshot, the document does get created under IDMDocument, but is not showing a name of the actor who created it.
Here is the following LPL I have in my exit rule to invoke this:
Exit Rules
if (ResourceLookupAttachment entered)
invoke Create IDMDocument
invoked.HROrganization = HROrganization
invoked.IDMDocument = ResourceLookupAttachment
invoked.Employee = this instance.Employee
invoked.AttachmentType = "Other"
invoked.DocumentFilename = ResourceLookupAttachment
invoked.IDMDocumentSourceCategory = 99
invoked.IDMDocumentType.Description = "EmployeeDocument"
invoked.Active = true
invoked.CreatedByActor = CreatedByActor
Essentially, I'm expecting "invoked.CreatedByActor = CreatedByActor" to invoke the actor's name but is not doing so.
Could I be missing something?
Thanks in advance for any help.