TRIRIGA Object Naming Best Practices
Mark Johnson
TRIRIGA Evangelist, 4yr IBM Champion 2022-2025, TRIRIGA Development Expert, Diffuser of TRIRIGA knowledge and Mentor.
It has been a little over seven years since I first published an article on the TRIRIGA Dash Notation Naming Convention. In that time, TRIRIGA has moved away from renaming objects to indicate that they have been customized and instead now Object Labels are used for that purpose. Since so much has changed I felt like the information should be refreshed and updated. You can also use this article as a guide or cheat sheet while doing your development. See https://www.dhirubhai.net/pulse/tririga-dash-notation-naming-convention-mark-johnson for the original article.
The following naming convention should be used for all TRIRIGA development. Strict adherence to this standard will create a more developer friendly environment and will also result in less expensive and faster application upgrades.
For more on TRIRIGA development be sure to subscribe to my YouTube channel: markRIGA.
General Object Name Rules
Form Name Rules
Generally a form should have the same name as it's underlying BO unless a form with that name already exists.
Form Name Examples
Query Name Rules and Examples
It is generally best to copy an out of the box query and use the copy rather than customize the query. Sometimes that isn't really feasible though if the query is in use in a lot of places.
Query Name Format
The name of a query is broken up in to three parts
Each part of the query name is separated by a - that is preceded by and followed by a space. <space>-<space>
Put all together it looks like this: cstName of Object Query Is Running Against - Keyword - Description
Query Usage Keyword
Admin: A standalone query that is used by system administrators
BIRT: A query that is used as a data source for a BIRT Report
Debug: A temporary query used to help isolate data issues.
Display: A query to display data in query sections
Filter: A query to filter data for another query via an Association filter
Find: A query for Find action of a locator or section.
Formula: A query to provide input values for extended formulas.
Graph: A chart or graph report intended for end users
Graphics: Graphics Editor report
HGrid: Hierarchical query for nesting queries
领英推荐
Manager:
As of TRIRIGA platform 3.0 there are no longer any Managers, they were replaced by Portals with Master/Detail queries. However, the term manager query has become synonymous with a query that returns all records and usually has actions such as add and delete.
Metric: A query for metric in a form
Portal: A query for use in a portal section
Report: A report intended for standalone running (usually by end users)
Workflow: A query for use in a workflow Query task. These queries should be optimized for workflow and should not do any sorting.
Query Name Examples
Workflow Name Rules
Workflow Name Format
The name of a workflow is broken up in to four parts but most workflows will only use three.
Each part of the workflow name is separated by a - that is preceded by and followed by a space. <space>-<space>
Put all together it looks like this: Name of Object and Level Workflow Is Running Against - How Workflow is Triggered - Description
For Associate or De-Associate event based workflows it looks like this: Name of Object and Level Workflow Is Running Against - Associate - Secondary Object - Description
Workflow Object and Level
Workflow Trigger Type
Workflow Description
The workflow description is a very short set of words that are used to convey the main purpose of the workflow.
Workflow Name Examples
Workflow Task Label Rules
Workflow Task Label Examples
Modified OOTB tasks should be prefixed with a cst- on their label. For example: cst-Get Building
New tasks should be prefixed with a cst on their label. For example: cstGet Building.
Workflow Variable Task Naming Rules
See my existing article: https://www.dhirubhai.net/pulse/tririga-workflow-variable-tasks-naming-convention-mark-johnson
Staff Software Engineer| Walmart | TRIRIGA Expert | Infra | Terraform | Kubernetes
2 年Great Article Mark!
I was reading this several months ago to get some information clarified. Awesome stuff!