Enum DataExecutionState
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
DatenAusführungsstatus
Eine Aufzählung der Status der Datenausführung.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
SpreadsheetApp.DataExecutionState.RUNNING
.
Attribute
Attribut | Typ | Beschreibung |
DATA_EXECUTION_STATE_UNSUPPORTED | Enum | Ein Ausführungsstatus für Daten wird in Apps Script nicht unterstützt. |
RUNNING | Enum | Die Datenausführung wurde gestartet und ist aktiv. |
SUCCESS | Enum | Die Datenausführung ist abgeschlossen und war erfolgreich. |
ERROR | Enum | Die Datenausführung ist abgeschlossen und es sind Fehler aufgetreten. |
NOT_STARTED | Enum | Die Datenausführung hat noch nicht begonnen. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eDataExecutionState\u003c/code\u003e is an enumeration used to represent the different states of a data execution within Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eYou can access the \u003ccode\u003eDataExecutionState\u003c/code\u003e enum's properties through \u003ccode\u003eSpreadsheetApp.DataExecutionState\u003c/code\u003e, followed by the specific property like \u003ccode\u003eRUNNING\u003c/code\u003e or \u003ccode\u003eSUCCESS\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe available states include \u003ccode\u003eDATA_EXECUTION_STATE_UNSUPPORTED\u003c/code\u003e, \u003ccode\u003eRUNNING\u003c/code\u003e, \u003ccode\u003eSUCCESS\u003c/code\u003e, \u003ccode\u003eERROR\u003c/code\u003e, and \u003ccode\u003eNOT_STARTED\u003c/code\u003e, each indicating a different phase or outcome of the data execution.\u003c/p\u003e\n"]]],["The `DataExecutionState` enumeration defines five states for data execution: `DATA_EXECUTION_STATE_UNSUPPORTED` (not supported), `RUNNING` (in progress), `SUCCESS` (completed successfully), `ERROR` (completed with errors), and `NOT_STARTED` (hasn't begun). These states indicate the current status of a data execution process. The enum properties can be accessed by calling the parent class, name and property like `SpreadsheetApp.DataExecutionState.RUNNING`.\n"],null,["# Enum DataExecutionState\n\nDataExecutionState\n\nAn enumeration of data execution states.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.DataExecutionState.RUNNING`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------------------------|--------|---------------------------------------------------------|\n| `DATA_EXECUTION_STATE_UNSUPPORTED` | `Enum` | A data execution state is not supported in Apps Script. |\n| `RUNNING` | `Enum` | The data execution has started and is running. |\n| `SUCCESS` | `Enum` | The data execution is completed and successful. |\n| `ERROR` | `Enum` | The data execution is completed and has errors. |\n| `NOT_STARTED` | `Enum` | The data execution has not started. |"]]