Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Chatbot does not display Welcome Message in WebPage on 1st load

SA-103547

Summary



A web Chatbot is configured in Pega 8.3.

The Mashup code of the web Chatbot is embedded in an HTML page which is deployed in an Apache Tomcat server (\webapps\Chatbot\index.html) for testing. 
On using the URL in a browser, the Pega Chatbot loads without a Welcome message. However, on reloading the current page, the Welcome message displays in the Console.


Error Messages



Not Applicable


Steps to Reproduce

  1. Log in to Pega Platform 8.3.
  2. From Channels and Interfaces, create a Web Chatbot and save the interface with the basic details.
  3. Navigate to the Behavior tab.
  4. Configure the 'System Response for Welcome' to the below:

    - Response Type > Custom
    - Data Transform > pyPopulateOutboundData 

     
  5. Save the configuration.
  6. Start the Tomcat service.
  7. In a browser, enter http://localhost:8080/Chatbot/ URL. The Pega Chatbot loads with no content from the data transform configured in the System Response for Welcome in the Pega application.
  8. Reload or refresh the page. The relevant content from the data transform displays.


Root Cause



A software use or operation error.
The required rulesets were missing in the application.



Resolution



Perform the following local-change:

Add the below rulesets in the application
  • PegaCS-WebChatbot
  • PegaCS-OnlineHelp
  • PegaCS-HelpConfig
Suggest Edit

Published April 17, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us