You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started with Redwood for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Profile options that are set by the chat widget and are accessible from the YAML

edited Aug 6, 2020 3:51PM in Digital Assistant

Content

When the chat widget first loads in the HCM application it sets a single profile value, givenName, to the logged-in user's display name, which is typically of the form "Firstname Lastname".  This profile value can be immediately accessed from the YAML flow within the HCM Skill using the syntax "${profile.givenName}"

For example, you could Welcome the user to the Skill by name using the following State:

  sayHello:
    component: "System.Output"
    properties:
      text: "Hello ${profile.givenName}"
      keepTurn: true
    transitions: {}

When the user enters their first phrase into the chat widget, five additional profile values are set as below. These will all subsequently also be available in the YAML flow of the HCM Skill using the syntax shown:

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!