| name | workday-extend |
|---|---|
| description | Reviews and writes Workday Extend app shells and data models. Use when editing .amd, .smd, .businessobject, .businessprocess, .securitydomain, .attachment, or appManifest.json. Do not use for .pmd pages, .card files, or .orchestration flows. |
Review or write the Extend app shell and model. Report only genuine problems.
Open first: catalog/vehicleRegistration. For a business process, also open catalog/tuitionReimbursement.
If the file is .pmd, .script, .card, or .orchestration, stop. Those belong to the page, card, or orchestration skill.
- Register each page as an AMD task with
id,routingPattern, andpage.id.routingPatternstarts with/. The hub task uses"/". - Set
page.idto the.pmdfile'sid. - Set
applicationIdto the same value asappManifest.jsonreferenceId. - Keep Workday base URLs in
dataProviderswith{{apiGatewayEndpoint}}andsite.applicationId. Never write a*.workday.comhost. - Set SMD
siteAuth.authTypesto schemeSSOand idsso. Map status codes 401, 404, 500, and 503 to a real error page. - List every
languages[].codethat has a file inpresentation/presentationLabels/. - Put
.amdand.smdinpresentation/. Put business objects, security domains, and business processes inmodel/. - Use catalog field types:
TEXT,INTEGER,DATE,BOOLEAN,DECIMAL,SINGLE_INSTANCE. A worker reference usestargetWORKERandsecureByTarget: true. - Give every page a
securityDomainsentry, and use that same name on the business object'sdefaultSecurityDomains. - Never put an API key, password, or token in an AMD, SMD, or business object.
For each issue, state the file and line, name the rule, and show a short before and after. Skip clean files.
- "Does this AMD route match a page id?"
- "Is the security domain name the same on the model and the page?"
- "This data provider uses a workday.com host. What should replace it?"