Upload Attachment
Applies To: System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator, System Center 2012 SP1 - Orchestrator
The Upload Attachment activity is used to upload a file to an existing Service Manager object.
The following published data elements are specific to Upload Attachment. Additional published data is generated based on the Class that you select when you define the activity. For a list of the data elements published by each Class, see Service Manager Published Data.
Upload Attachment Published Data
Element |
Description |
System Center Object GUID |
The unique identifier (GUID) of the single attachment to be updated |
Number of Objects |
The number of files successfully uploaded by Upload Attachment |
Configuring the Upload Attachment Activity Workflow for File Attachments
The Upload Attachment activity is dependent on other activities for the data that it requires.
For file attachments, the following activities will usually precede the Upload Attachment activity in a workflow:
A parent record must exist. For example, you could use Create Change with Template or Get Object to get the Object Guid of a parent record where the attachment is to be uploaded.
Use Get File Status to get information about the file to be uploaded. This activity retrieves the data needed to attach the file to the Service Manager object.
Use Create Related Object to create a File Attachment related to the parent record. This activity creates the File Attachment object where the attachment is to be uploaded. There are several critical fields that must be correctly populated in order for the attachment to behave correctly in Service Manager
Configuring the Upload Attachment Activity Workflow for Knowledge Articles
The Upload Attachment activity is dependent on other activities for the data that it requires. For knowledge articles, the following activities usually precede the Upload Attachment activity in a workflow:
A parent record must exist. For example, you could use Create Change with Template or Get Object to get an Object Guid of a parent record where the article is to be uploaded.
Use Get File Status to get information about the knowledge article to be uploaded. This activity retrieves the data needed to attach the knowledge article to the Service Manager object.
Use Create Object to create a knowledge article. This activity creates the knowledge article object where the article is to be uploaded.
See Also
Concepts
System Center Service Manager Activities
System Center Integration Pack for System Center 2012 Service Manager