Stock Notifications
What it is
An Extend app that shows Workday’s current stock price (WDAY) on a home page card. An orchestration calls an external stock quote API, then writes the ticker, price, and timestamp into a Workday business object through the Workday REST API so the card can render the latest value.
What’s inside
appManifest.json,presentation/— the Extend app shell (site and app manifest)cards/stockInfo.carddefinition— the home page card that displays the stock pricemodel/StockInfo.businessobjectandmodel/StockSecurityDomain.securitydomain— the business object that stores the ticker, price, and last-updated fieldsorchestration/StockRetrieval.orchestration— fetches the quote from an external API and posts it into theStockInfobusiness object via the Workday API
How to use it
- Deploy the app source to your WCP development tenant (App Builder, the IDE plugins, or the WDCLI), then install and launch it.
- Import
orchestration/StockRetrieval.orchestrationin Orchestration Builder and update theSendHTTPRequestnode’s URL to point at your own stock quote API. - The orchestration authenticates to that external API with a Basic Auth credential named
onrender. Replace the placeholderYOUR_USERNAME/YOUR_PASSWORDvalues with your own credential — never commit real ones. - Deploy the orchestration to your tenant, then run it (or schedule it) to keep the
StockInforecord fresh. - Launch the app; the
stockInfocard reads from theStockInfobusiness object and shows the latest price.