- API
- Work with apps
- Object for configuring bulk status updates for app items
- 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
- ApplicationBatchDeleteBuilder
- ApplicationBatchHardDeleteBuilder
- ApplicationBatchSaveBuilder
- ApplicationBatchSaver
- ApplicationBatchSetStatusBuilder
- ApplicationBatchUpdateBuilder
- ApplicationBatchUpdater
- ApplicationBatcher
- ApplicationFieldOperand
- ApplicationFieldProjectionCapable
- ApplicationSearch
- ApplicationSearchWithProjection
- ApplicationTypeFieldOperand
- ApplicationsBatchSaveBuilder
- ApplicationsBatchSaver
- ApplicationsBatcher
- ApplicationsService
- BaseFieldOperand
- BaseGlobalFilters
- ComparableFieldOperand
- ContextOperand
- DirectoriesSearch
- DocflowSettings
- FieldArrayOperand
- FieldOperand
- FilesSearch
- FolderSettings
- GlobalFilters
- GlobalFiltersWithWhere
- LineApplicationFieldOperand
- MailMessageSearch
- MoneyFieldOperand
- NomenclatureRegistrationSettings
- OrganisationStructureSearch
- PhoneFieldOperand
- ProcessInstanceSearch
- ProcessInstanceTaskSearch
- RefItemFieldOperand
- RegistrationSettings
- ReminderSearch
- ReplacementRulesSearch
- ReplacementSearch
- ReportSearch
- ResetSettings
- Search
- SerialData
- SerialSettings
- SignatureSettings
- StatusHistorySearch
- StringFieldOperand
- TDocTemplate
- TFolder
- TNomenclature
- TNomenclatureDirectory
- TSettings
- UpdateOperations
- UserGroupSearch
- UserSearch
- FieldSelection
- TApplicationTypeFilter
- 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
- Activity stream metadata
Object for configuring bulk status updates for app items
The object allows basic configuration of bulk status change:
Type parameters
TFull: ItemData
Hierarchy
Methods
all
The method changes the status of app items.
Returns the number of items actually changed according to ApplicationBatchSetStatusBuilder.size, starting from ApplicationBatchSetStatusBuilder.from. By default, the number of processed items is limited to 10 records. If you need to change the status for a larger number of items, use the ApplicationBatchSetStatusBuilder.size.
const count = await Application.batch() .setStatus (Application.fields.__status.variants.completed, 'Closed automatically') .where((f, g) => g.and ( f.__deletedAt.eq(null), f.__id.neq('019e6d5f-ed0e-7349-8137-fce42c401f8a') )) .all();Returns Promise<number>
from
The method allows you to skip a specified number of items whose status changes.
Parameters
n: number
Returns this
notify
The method configures sending notifications when item statuses change.
Parameters
enabled: boolean
Returns this
size
The method allows you to set a limit on the number of items whose status is changed.
Parameters
n: number
Returns this
sort
The method allows you to sort items whose status changes.
To sort the results by multiple parameters, you can call the method several times.
Parameters
field: keyof TFull
Optional ascending: undefined | false | true
Returns this
where
The method allows you to define collection item filtering when the status changes.
Parameters
fc: FilterClosure<TFull>
Returns this
The method allows you to define collection item filtering when the status changes.
Parameters
eql: EqlQuery
Optional params: EqlParams
Returns this
Methods
Feedback sent successfully
Thank you for your input