About script screens and Data table

I have two questions about scripts and Data table

  1. I would like to know how to get the data table from the script screen
  2. I would like to know how to display the data (list type) obtained in 1. on the script screen

Hi @HikaruOgatu

  1. You can use data actions within scripts.
    If you don't see the option in the script actions, you would need to make sure data actions are enabled following the steps here:
    Manage script properties - Genesys Cloud Resource Center
    Then you can set up the data action to get your data from the data table APIs using the API resource that fits your needs, potentially GET /api/v2/flows/datatables/{datatableId}/rows
  2. Scripts have a Set Variable action that allows you to set variables. You can display variables in the script with double curly braces like {{variable}}

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.