İçeriğe geç
Tüm araçlar

servicenow_update_incident

ServiceNow · macOS · Windows

Etki: yazma. Durum: koşullu kullanılabilir.

“Koşullu kullanılabilirlik”, aracın sürüme, platforma, izinlere, hesaba veya yapılandırmaya bağlı olabileceğini belirtir. Her kurulumda etkin olduğu anlamına gelmez.

macOS

Amaç

Mevcut bir ServiceNow olayındaki alanları (durum, öncelik, atama) günceller. servicenow_get_incident tarafından döndürülen sys_id değerini kullanın. confirm olmadan çağrılırsa değişecek alanların önizlemesini döndürür ve hiçbir şey göndermez; güncellemek için confirm=true iletin.

Zorunlu girdiler

Girdi adları aracın istediği biçimde aynen korunur. İngilizce kanonik teknik tanımlar aşağıdaki açılır şemadadır.

İzinler ve onay

Şema açık bir onay parametresi bildirir. Önizlemeyi inceleyin ve gerçek işlemi platform sözleşmesine göre yetkilendirin.

İngilizce kanonik teknik şema — macOS
{
  "properties": {
    "assigned_to": {
      "description": "Username or email to assign to",
      "type": "string"
    },
    "close_notes": {
      "description": "Resolution notes (required when state=6 or 7)",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to send; without it nothing is sent and the call returns a preview of every field.",
      "type": "boolean"
    },
    "priority": {
      "description": "1=Critical, 2=High, 3=Moderate, 4=Low, 5=Planning",
      "type": "string"
    },
    "short_description": {
      "description": "Updated summary",
      "type": "string"
    },
    "state": {
      "description": "1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed",
      "type": "string"
    },
    "sys_id": {
      "description": "Incident sys_id from servicenow_get_incident",
      "type": "string"
    },
    "urgency": {
      "description": "1=Critical, 2=High, 3=Medium, 4=Low",
      "type": "string"
    }
  },
  "required": [
    "sys_id"
  ],
  "type": "object"
}

Belge örneği

servicenow_update_incident için örnek belge. Bu örneği çalıştırmayın. Gösterilen bağımsız değişkenler kurgusal bir veri kümesine aittir; gerçek bir çağrıdan önce gerçek tanıtıcıları bulun ve izin alın.

{
  "confirm": false,
  "short_description": "Calendar search returns no events.",
  "sys_id": "0123456789abcdef0123456789abcdef"
}

Windows

Amaç

Bir ServiceNow olayındaki alanları (durum, öncelik, atama veya açıklama) günceller. servicenow_get_incident tarafından döndürülen sys_id değerini kullanın. confirm=true olmadan hiçbir şey gönderilmez: yanıt sys_id değerinin ve değişecek her alanın önizlemesini verir.

Zorunlu girdiler

Girdi adları aracın istediği biçimde aynen korunur. İngilizce kanonik teknik tanımlar aşağıdaki açılır şemadadır.

İzinler ve onay

Şema açık bir onay parametresi bildirir. Önizlemeyi inceleyin ve gerçek işlemi platform sözleşmesine göre yetkilendirin.

İngilizce kanonik teknik şema — Windows
{
  "properties": {
    "assigned_to": {
      "description": "Username to assign to",
      "type": "string"
    },
    "close_notes": {
      "description": "Resolution notes (required when state=6 or 7)",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to send. Without it nothing is sent and the answer previews every field.",
      "type": "boolean"
    },
    "priority": {
      "description": "1=Critical, 2=High, 3=Moderate, 4=Low",
      "type": "string"
    },
    "short_description": {
      "description": "Updated summary",
      "type": "string"
    },
    "state": {
      "description": "1=New, 2=In Progress, 3=On Hold, 6=Resolved, 7=Closed",
      "type": "string"
    },
    "sys_id": {
      "description": "Incident sys_id from servicenow_get_incident",
      "type": "string"
    },
    "urgency": {
      "description": "1=Critical, 2=High, 3=Medium, 4=Low",
      "type": "string"
    }
  },
  "required": [
    "sys_id"
  ],
  "type": "object"
}

Belge örneği

servicenow_update_incident için örnek belge. Bu örneği çalıştırmayın. Gösterilen bağımsız değişkenler kurgusal bir veri kümesine aittir; gerçek bir çağrıdan önce gerçek tanıtıcıları bulun ve izin alın.

{
  "confirm": false,
  "short_description": "Calendar search returns no events.",
  "sys_id": "0123456789abcdef0123456789abcdef"
}