- API
- Global constants
- Project plan element object
- 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
Project plan element object
This object is only used for methods available in the context of the ** Project Plan Element** app. Here is an example of how it can be used in a business process script in the Projects workspace:
const projectPlanElement = Context.data.projectPlanElement; if (projectPlanElement) { await Namespace.app._project_plan_element. updateEstimated(projectPlanElement, currentUser, startDate, endDate, comment); }
Type parameters
T: ProjectPlanElementItemData
P: ItemData
Hierarchy
Methods
updateEstimated
Update estimated dates in a project plan element.
const projectPlanElementApp = Context.fields._project_task.app; const projectPlanElement = Context.data._project_task; const currentUser = System. users.getCurrentUser(); const today = new TDate(); const tomorrow = today. addDate(0, 0, 1); const comment = 'New estimated dates'; await projectPlanElementApp.updateEstimated(projectPlanElement, currentUser, today, tomorrow, comment);
Parameters
item: ApplicationItemRef<T, P>
updatedBy: UserItemRef
startDate: TDate | null
endDate: TDate | null
comment: string | null
Returns Promise<void>
Methods