Incident.Status: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Incident|Incident}}
{{Template:XFRACAS.XML.Import.Doc.Class|Incident|Incident}}
===XML Element===
===XML Element===
<Status>
<[[Incident.Status|Status]]>
:  <Issue IssueTypeID=”8”= >
:  <Issue IssueTypeID=”8”= >
::    <Code />
::    <Code />
Line 17: Line 17:
:  <UpdatedBy />
:  <UpdatedBy />
:  <Retired />
:  <Retired />
</Status>
</[[Incident.Status|Status]]>





Revision as of 18:04, 23 October 2014

XML Element

<Status>

<Issue IssueTypeID=”8”= >
<Description />
</Issue>
<Date>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</Date>
<UpdatedBy />
<Retired />

</Status>


Description

  • At least one Status element is required. The Status element must contain an existing Issue element with an IssueTypeID equal to 8 (Incident State) or 48 (Incident State Closed) and a valid Date element. If the InsertIncidentIssues setting is enabled and an existing issue is not found, a new issue will be inserted.
  • The Date element is required and must be a valid date.
  • The Retired element is optional. If present, it must contain a “Yes” or “No” value. If the value is empty, the default value will be “No”.
  • The UpdatedBy element is optional. If present, it must contain a Login element that matches an existing user. If not present, then the user doing the import will be used.

Update: Updated statuses that are valid and differ from an original status will be inserted and the corresponding original status will be retired. Original statuses that are not present in the updated statuses will be retired. There can be only one current status.