Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Example: Run the PrismAnalytics Sample Assembly

Example: Run the PrismAnalytics Sample Assembly

This example demonstrates how to use the
PrismAnalytics
component to send CSV data to Workday Prism Analytics. Source CSV files are provided in the assembly project. For the purposes of this example, copy these files to an SFTP server for retrieval by the sample assembly.
Security: These domains in the Integration functional area:
  • Integration Build
  • Integration Configure
  • Integration Event
  1. Register a Prism API client and copy values that the
    PrismAnalytics
    component requires.
    1. In Workday, access the
      Register API Client for Integrations
      task.
    2. Register an API client with
      Prism Analytics
      as its
      Scope (Functional Area)
      . Select the
      Include Workday Owned Scope
      check box.
    3. Copy the
      Client ID
      and
      Client Secret
      values.
    4. From the related actions menu, select
      API Client
      Manage Refresh Tokens for Integrations
      .
    5. Select a
      Workday Account
      to associate with the refresh token. The account must have permission to create Prism tables in Workday.
    6. Generate a refresh token and copy the value.
  2. Obtain Workday REST API Endpoint.
    1. Access the
      View API Clients
      report.
    2. Copy the
      Workday REST API Endpoint
      value. Delete the
      https://
      at the beginning and the
      /ccx/api/v1/<tenant_name>
      at the end.
  3. On the Studio toolbar, select
    Help
    Welcome
    Samples
    PrismAnalytics
    .
  4. On the
    Project Names
    window, click
    Finish
    .
  5. On the
    Project Explorer
    view, expand the
    PrismAnalytics
    folder and double-click the
    Assembly
    folder.
  6. Copy the provided sample CSV files to your SFTP server.
    1. In the
      PrismAnalytics
      project folder, expand
      ws
      WSAR-INF
      PrismAnalytics Sample CSVs
      .
    2. Copy these files to your SFTP server:
      • states.csv
      • states2.csv
      • states3.csv
      • states4.csv
      • states5.csv
  7. On the Assembly Editor toolbar, click
    Show annotations
    .
  8. On the
    Cloud Explorer
    view, click
    Connection Details
    .
  9. Select the
    Sandbox
    environment and enter these values on the
    Connections
    window:
    Option Description
    Tenant
    The name of your tenant.
    Username
    The username credentials for your tenant.
    Password
    The password credentials for your tenant.
  10. Click
    Apply and Close
    .
  11. On the
    Project Explorer
    view, right-click the
    PrismAnalytics
    folder and select
    Deploy to Workday
    .
  12. On the
    Deploy to Workday
    window, select the
    Sandbox
    environment and click
    Finish
    .
  13. On the
    Cloud Explorer
    view, launch 1 of the integrations in this sample.
    1. Expand the
      Sandbox
      node.
    2. Expand the
      PrismAnalyticsCollection
      collection node.
    3. Expand the
      PrismAnalytics
      project node.
    4. Right-click a workday-in transport node and select
      Launch Integration
      . Example:
      SingleCSV
      .
  14. Click
    Launch
    .
Workday Prism Analytics creates a table using the CSV data you supplied.