Service scenario (svcscript)
Description
A script used as a subroutine to manage common events and data. Executed by the Script role, it can run asynchronously without binding to any other runtime resources.
Can be run for processing:
- of a scheduled service task (svctask),
- data from another script nested or asynchronously,
- to process the incoming HTTP request,
- To process the contextual data of the call,
- to send a message to the integration channel,
etc.
Contains only common components available to all types of scripts.
Script editing is performed in the visual script editor (app scripteditor).
Limitations
-
The collection is available in any domain, including the master domain.
-
The script handler may be subject to constraints set in the parent domain for the current domain: pause between components, number of components, execution time, etc.
-
Licensed by a quantitative parameter: the license for service scenarios is consumed.
Fields
{
"id": uuid,
"code": str,
"name": str,
"scriptdata": object,
"projectid": uuid,
"lwt": date,
"opts": {
"title": str,
"comment": str,
"loglevel": int,
"variables": object
},
"ext": {
"ct": date,
"lwt": date
}
}
Specification | Description |
---|---|
Field: |
Identifier. Can be specified at creation, otherwise generated by the system. |
Field: |
Code. Used for association with other entities. |
Field: |
Title |
Field: |
Script content: components, variables, some other properties. |
Field: |
Identifier of the project to which the script belongs |
Field: |
(duplicate, obsolete) Time of last modification of the object |
Field: |
|
Field: |
Arbitrary header |
Field: |
Arbitrary comment |
Field: |
Scenario Logging Level (
|
Field: |
Initial values of script variables. |
Field: |
Allows you to extend the compound with arbitrary keys and values |
Field: |
Object creation time |
Field: |
Time of last modification of the object |
See also
Logical roles
-
svc performs maintenance of service scripts.