The Common Task document is an XML schema that contains default fields for mapping task form values from one system to another. The common task format mirrors what one would see in an ITIL view of a Task form with related lists expressed in embedded XML form.
A sample Common Task looks like this:
<common_task> <active/> <activity_due/> <additional_assignee_list/> <approval>not requested</approval> <approval_history/> <approval_set/> <assigned_to/> <assignment_group/> <attachments> <attachment> <data /> <size_bytes /> <file_name /> <sys_id /> <content_type /> </attachment> </attachments> <business_duration/> <business_service/> <calendar_duration/> <closed_at/> <closed_by/> <close_notes/> <cmdb_ci/> <comments/> <comments_and_work_notes/> <company/> <contact_type/> <correlation_display/> <correlation_id/> <delivery_plan/> <delivery_task/> <description/> <due_date/> <escalation/> <expected_start/> <follow_up/> <group_list/> <impact/> <knowledge/> <location/> <made_sla/> <number/> <opened_at/> <opened_by/> <order/> <parent/> <priority/> <provider/> <reassignment_count/> <rejection_goto/> <short_description/> <sla_due/> <state/> <sys_class_name/> <sys_created_by/> <sys_created_on/> <sys_domain/> <sys_domain_path/> <sys_id/> <sys_mod_count/> <sys_tags/> <sys_updated_by/> <sys_updated_on/> <time_worked/> <upon_approval/> <upon_reject/> <urgency/> <user_input/> <variables/> <watch_list/> <wf_activity/> <work_end/> <work_notes/> <work_notes_list/> <work_start/> </common_task> |
Embedded records are fields in the Common Task document that cannot be mapped by singular values. Instead, they are entirely different records included inside the Common Task document to be created on the subscribing system.
The following are examples of the embedded records in Common Task:
Attachment Embedded Record
The attachment field in the Common Task is an embedded record that, when populated, will create a new attachment on the system receiving the Common Task.
Table Map Source Field | Definition |
---|---|
data | Attachment data in an encoded string format |
size_bytes | Measurement of how much the attachment data contains |
file_name | Name of the attached file |
sys_id | Unique record identifier of the attachment |
content_type | Attachments content type (i.e jpeg, png, txt, etc.) |