JavaScript API namespaces
Draft comment:
This topic was viewed 223 times since its publication
Some APIs are available only in the BPD namespace or only the Service namespace, but not
both.
This topic was viewed 223 times since its publication
- The BPD namespace is used by scripts in processes and BPDs.
- The Service namespace is used by scripts in service flows and services.
- For scripts in client-side human services, see JavaScript API for client-side human service development.
BPD namespace
The following APIs are only available in the BPD namespace:
- tw.decision (only in gateways)
- tw.message
- tw.system.currentProcessInstance
- tw.system.enclosingCaseInstance
- tw.system.process
- tw.system.step
Service namespace
The following APIs are only available in the Service namespace:
- tw.resource
- tw.system.coachValidation
- tw.system.currentTask
- tw.system.serviceFlow
- tw.system.task_id
- tw.system.user_fullName
- tw.system.user_id
- tw.system.user_locale
- tw.system.user_localeCountry (deprecated)
- tw.system.user_localeDescription
- tw.system.user_localeLanguage (deprecated)
- tw.system.user_loginName
- tw.system.user_timeZone
- tw.system.user_timeZoneOffset
This topic is shared by BAW, CP4BA, CP4BASaaS. Last updated on 2025-01-20 10:38