an empty scriptType export template
Export all scriptTypes. The response can be saved to file as is. Every script type is tried: a script type that cannot be exported does not stop the others.
OptionalresultCallback: ResultCallback<ScriptTypeExportSkeleton>
Optional callback to process individual results. When given, the outcome of every script type is passed to it as it happens (a failed script type as an error that names it, with the failed reads nested) and a failed script type does not throw: the script types that could be exported are returned, and a failed one is not part of the export. Without it, the failures are collected and thrown as one error after every script type was tried. Failing to read the list of script types always throws. A script type that has no engine configuration (HTTP 404) is not a failure.
Promise resolving to a ScriptTypeExportInterface object.
Import script types. Every script type is tried: a script type that cannot be imported does not stop the others.
script type import data
OptionalscriptTypeId: string
Optional script type id. If supplied, only the script type of that id is imported. Takes priority over scriptTypeUrl if both are provided.
OptionalresultCallback: ResultCallback<ScriptTypeExportSkeleton>
Optional callback to process individual results. When given, the outcome of every script type is passed to it as it happens (a failed script type as an error that names it, with the cause nested) and a failed script type does not throw: the script types that could be imported are returned. Without it, the failures are collected and thrown as one error after every script type was tried.
the imported script types
Read the bindings (available objects/APIs, e.g. httpClient, idRepository) exposed to scripts running in a given scripting context.
scripting context id, e.g. SCRIPTED_DECISION_NODE
a promise that resolves to an array of script bindings
Read scriptType by id
ScriptType id
a promise that resolves to a scriptType object
Read all scriptTypes.
a promise that resolves to an array of scriptType objects
Update script type
script type id
script type data
a promise resolving to a script type object
Create an empty scriptType export template