- Home [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 - Dynamic calculation of event type
- Use cases
-
API
- Object types
- Data types
- Global constants
-
Work with apps
- ApplicationBatchDeleteBuilder
- ApplicationBatchSaveBuilder
- ApplicationBatchSaver
- ApplicationBatchUpdateBuilder
- ApplicationBatchUpdater
- ApplicationBatcher
- ApplicationFieldOperand
- BaseFieldOperand
- BaseGlobalFilters
- ComparableFieldOperand
- ContextOperand
- DirectoriesSearch
- DocflowSettings
- FieldArrayOperand
- FieldOperand
- FilesSearch
- FolderSettings
- GlobalFilters
- GlobalFiltersWithWhere
- LineApplicationFieldOperand
- MailMessageSearch
- NomenclatureRegistrationSettings
- OrganisationStructureSearch
- PhoneFieldOperand
- ProcessInstanceSearch
- ProcessInstanceTaskSearch
- RefItemFieldOperand
- RegistrationSettings
- ReminderSearch
- ReplacementSearch
- ReportSearch
- ResetSettings
- Search
- SerialData
- SerialSettings
- SignatureSettings
- StatusHistorySearch
- StringFieldOperand
- TDocTemplate
- TFolder
- TNomenclature
- TNomenclatureDirectory
- TSettings
- UpdateOperations
- UserGroupSearch
- UserSearch
- Web requests
- Access permissions
- Document flow
- Live Chats
- “Code” widget
- Signatures
- Business calendars
- Integration with IP telephony
- Integration with email marketing services
Configuration object of batch deletion of app items
ApplicationBatchDeleteBuilder allows for base settings of batch delete.
Type parameters
TFull: ItemData
Hierarchy
Methods
all
The method runs batch deletion.
Returns the number of actually deleted items according to ApplicationBatchDeleteBuilder.size, starting with ApplicationBatchDeleteBuilder.from. By default the size of the deleted items is limited to 10 entries. To delete more items, use the method ApplicationBatchDeleteBuilder.size.
const searchResults = await Application.batch() .delete() .where((f, g) => g.and ( f.__deletedAt.eq(null), f.str.eq(null) )) .all();
Returns Promise<number>
from
The method allows you to skip a specified number of items to be deleted.
Parameters
n: number
Returns this
notify
The method configures sending notifications when items are deleted.
Parameters
enabled: boolean
Returns this
size
The method allows you to set a limit on the number of items to be deleted.
Parameters
n: number
Returns this
sort
The method allows sorting the items to be deleted.
If the results need to be sorted by different parameters, you can call the method sequentially several times.
Parameters
field: keyof TFull
Optional ascending: undefined | false | true
Returns this
where
The method allows you to set a filter for the items to be deleted from the collection.
Parameters
fc: FilterClosure<TFull>
Returns this
Methods