GetAttachment<>
![]() |
The GetRelatedEntity<> activity must be included in the workflow before the GetAttachment<> activity, and the GetEntity<> activity must precede the GetRelatedEntity<> activity. Attachments in the tab retrieved from the GetRelatedEntity<> activity are retrieved in the GetAttachment<> activity. |
The GetAttachment<> activity retrieves attachments from the Id of the tab that is retrieved in the GetRelatedEntity<> activity.
When you select the 'Browse for Type' option, the list of assemblies and associated entities is displayed. Find and select the entity and click OK.
After you have selected an entity, the name of the entity is inserted in the DisplayName field, e.g., GetAttachment <Attachment>. Proceed to specify the entity to be retrieved.
Scenario
To retrieve the attachment in an encrypted format, you are required to create a sequence of three activities:
-
GetEntity<> — this activity retrieves the instance of the object record.
-
GetRelatedEntity<> — this activity retrieves the ID of the tab from which you want to retrieve the attachment.
-
GetAttachment<> — the ID of the tab serves as an input parameter. This activity then retrieves the attachment in an encrypted form.
Properties
Property | Value | Required | Notes |
---|---|---|---|
DisplayName | String
|
No | Specify a name for the activity or accept the default. |
Entity | InOutArgument<Entity>
|
Yes | Specify the entity identifier using a VB expression or variable. |