- 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]
- Manage types
- Global context and isolation
- Manage apps
- Work with 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 - Use cases
-
API
- Object types
- Data types
-
Global constants
- Application
- ApplicationProject
- ApplicationProjectPlanElement
- ApplicationUserProfile
- ApplicationWithParams
- BrandingSettings
- Converter
- Directories
- Files
- HttpApiHandler
- HttpApiRequest
- ICache
- IStorage
- MailMessage
- Mailbox
- OrganisationStructure
- OrganisationStructureTree
- Portal
- PortalPageInfo
- PortalSettings
- Portals
- Process
- Processes
- ProductionSchedule
- Reminders
- Replacements
- Serial
- ServerCollection
- Service
- SignupUrlParams
- SystemCollections
- SystemCollectionsWithEvents
- Templater
- Translator
- UserGroups
- Users
- Watermarks
- Report
- Reports
- SR
- 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
Report a mistake
There is a mistake in the following text:
Feedback sent successfully
Thank you for your input
Process object
This object is used for methods that are only available in the context of the Projects app. Example of using this object in a business process script in the Projects workspace:
const project = Context .data.project; if (project) { await Namespace.app._project. initByTemplate(project); }
Type parameters
T: ItemData
P: ItemData
Hierarchy
Methods
archive
Archive a project. The method changes a project’s stage to Archived and closes all project tasks.
const projectApp = Context.fields. _project.app; const project = Context.data._project; await projectApp. archive(project);
Parameters
item: ApplicationItemRef<T, P>
Returns Promise<void>
initByTemplate
Initialize the project with the initial data from a template. The method is used in the Generate from template system business process).
const project = Context.data._project; if (project) { await Application.initByTemplate(project); }
Parameters
item: ApplicationItemRef<T, P>
Returns Promise<void>
restore
Restore a project from the archive. The method changes the project stage to Draft.
const projectApp = Context.fields._project.app; const project = Context.data._project; await projectApp.restore(project);
Parameters
item: ApplicationItemRef<T, P>
Returns Promise<void>
Methods