- API
- Company configuration metadata
- Service for retrieving process information
- Getting started [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
- Manage types
- Global context and isolation
- Manage apps
- Batch actions with app items
- Manage external services
- Scripts in widgets
- Web components
- Access permissions
- Getting started with processes
- Getting started with signatures
- Getting started with file previews
- Getting started with the organizational chart
- Getting started with users and groups
-
Getting started with the
Table data type -
Getting started with the
Category data type - Dynamic event type calculation
- Typical use cases
-
API
- Object types
- Data types
- Global constants
- Work with apps
- Web requests
- Access permissions
- Document flow
- Live Chats
- “Code” widget
- Signatures
- Business calendars
- Integration with IP telephony
- Integration with email marketing services
-
Company configuration metadata
- ApplicationScheme
- ApplicationSchemeForms
- ApplicationSchemeFormsCreateForm
- ApplicationSchemeFormsDetailForm
- ApplicationSchemeFormsEditForm
- ApplicationSchemeFormsField
- ApplicationSchemeFormsMassEditForm
- ApplicationSchemeFormsTileForm
- ApplicationSchemeFormsViewForm
- ApplicationSchemeParams
- ApplicationSchemePermissionSettings
- ApplicationSchemeService
- BaseApplicationScheme
- BaseModuleScheme
- BaseNamespaceScheme
- BasePageScheme
- BaseProcessTemplateScheme
- BaseSolutionScheme
- FieldScheme
- FieldSchemeAccountViewData
- FieldSchemeBooleanViewData
- FieldSchemeCategoryData
- FieldSchemeDateTimeViewData
- FieldSchemeEmailViewData
- FieldSchemeEnumData
- FieldSchemeEnumDataEnumItem
- FieldSchemeLinkViewData
- FieldSchemeMoneyViewData
- FieldSchemePhoneViewData
- FieldSchemeService
- FieldSchemeStringData
- FieldSchemeStringDataMask
- FieldSchemeStringViewData
- FieldSchemeSysCollectionData
- FieldSchemeTableData
- FieldSchemeTableDataField
- FieldSchemeTableDataFieldView
- FieldSchemeView
- ModuleScheme
- ModuleSchemeService
- NamespaceScheme
- NamespaceSchemeParams
- NamespaceSchemeParamsField
- NamespaceSchemeParamsFieldFieldView
- NamespaceSchemeService
- PageScheme
- PageSchemeService
- PermissionsScheme
- PermissionsSchemeValue
- PermissionsSchemeValueOrgUnit
- ProcessTemplateScheme
- ProcessTemplateSchemeItem
- ProcessTemplateSchemeItemSettings
- ProcessTemplateSchemeItemSettingsFormField
- ProcessTemplateSchemeProcess
- ProcessTemplateSchemeService
- SchemeService
- SolutionScheme
- SolutionSchemeItem
- SolutionSchemeService
- ApplicationSchemePermissionSettingsType
- FieldSchemeAccountViewDataType
- FieldSchemeDateTimeViewDataAdditionalType
- FieldSchemeDateTimeViewDataDefaultTime
- FieldSchemeEmailViewDataType
- FieldSchemePhoneViewDataType
- FieldSchemeStringViewDataAdditionalType
- FieldSchemeType
- PageSchemeType
- PermissionsSchemeValueOrgUnitType
- PermissionsSchemeValueType
- SolutionSchemeItemKind
- ApplicationSchemePermissionSettingsType
- FieldSchemeAccountViewDataType
- FieldSchemeDateTimeViewDataAdditionalType
- FieldSchemeDateTimeViewDataDefaultTime
- FieldSchemeEmailViewDataType
- FieldSchemePhoneViewDataType
- FieldSchemeStringViewDataAdditionalType
- FieldSchemeType
- PageSchemeType
- PermissionsSchemeValueOrgUnitType
- PermissionsSchemeValueType
- SolutionSchemeItemKind
- Метаданные ленты
Report a mistake
There is a mistake in the following text:
Feedback sent successfully
Thank you for your input
Service for retrieving process information
Hierarchy
Methods
get
Retrieving the process template by namespace and code.
Parameters
namespace: string
code: string
Returns Promise<ProcessTemplateScheme | undefined>
An object containing process information. The method does not support processes created in a module. Example of retrieving a system process name 'task':
const taskProcessTemplate = await System.scheme.process.get('system', 'task'); if (!taskProcessTemplate) { throw new Error('Process template task not found'); } const name = taskProcessTemplate.__name;Example of retrieving the context of a process created at the workspace level:
const myNamespaceProcess = await System.scheme.process.get ('my_namespace', 'process_code'); if (!myNamespaceProcess || !Array.isArray(myNamespaceProcess.context)) { throw new Error('Process context not found'); } for (const field of myNamespaceProcess.context) { // Working with context data <a href="_501_scheme_.fieldscheme.html">FieldScheme</a> }Example of retrieving a process created at the app level. To retrieve an app-level process, use a composite key. It is formed from the workspace code and app code separated by a dot. For example,
my_namespace.my_app.const myAppProcess = await System.scheme.process.get('my_namespace.my_app', 'process_code'); if (!myAppProcess) { throw new Error('Process of application not found'); } // Working with process template data <a href="_501_scheme_.processtemplatescheme.html">ProcessTemplateScheme</a> const name = myAppProcess.__name;list
Retrieving the list of process templates by namespace and app code.
Parameters
namespace: string
Returns Promise<readonly BaseProcessTemplateScheme[]>
An array of objects containing information about app process templates.
Example of retrieving a list of processes created at the app level:
const myAppProcesses = await System.scheme.process.list ('my_namespace', 'my_app'); for (const processTemplate of myAppProcesses) { // Working with process data created at the app level <a href="_501_scheme_.baseprocesstemplatescheme.html">BaseProcessTemplateScheme</a> }Retrieving the list of process templates by namespace and app code.
Parameters
namespace: string
code: string
Returns Promise<readonly BaseProcessTemplateScheme[]>
An array of objects containing information about app process templates.
Example of retrieving a list of processes created at the app level:
const myAppProcesses = await System.scheme.process.list ('my_namespace', 'my_app'); for (const processTemplate of myAppProcesses) { // Working with process data created at the app level <a href="_501_scheme_.baseprocesstemplatescheme.html">BaseProcessTemplateScheme</a> }Methods