This documentation supports the 19.08 version of BMC Helix Chatbot.
To view the documentation for the previous version, select 19.05 from the Product version menu.

FAQs and additional resources

This topic provides information that supplements the BMC Helix Chatbot documentation.

Frequently asked questions

This section provides answers to frequently asked questions about BMC Helix Chatbot.

 In which ways can I enable chat for BMC Helix Digital Workplace Catalog services?

You can enable chat for services from IBM Watson Assistant Skills or by using the Publish Chat-enabled service wizard in BMC Helix Chatbot.


 What is the recommended way to enable chat for services?

BMC recommends that you enable chat for services by using the Publish Chat-enabled service wizard. For more information, see Importing chat-enabled services from BMC Helix Digital Workplace Advanced.


 How do I enable a dynamic answer in IBM Watson Assistant without using the Publish Chat-enabled service wizard?
  1. Log in to your IBM Cloud account.
  2. Navigate to the IBM Watson Assistant Skills that is configured with BMC Helix Chatbot, and take the backup of the skill.
  3. Navigate to the dialog that contains intent for the service that has dynamic answers.
  4. Create a child dialog and specify its name by using the following syntax:
    Fetch Dynamic Answers - <Service Name>
    For example, Fetch Dynamic answers - Flight Reservation.
  5. Specify the condition as True.
  6. Next to Then set context:, click  , and open the JSON editor.
  7. In the JSON editor, replace the existing text with the following text:

    {
     
    "context": {
       
    "questionIdsWithDynamicAnswer": [
    
    <comma separated values of all the dynamic answers question Id>
    
        ]
      },
     
    "output": {
       
    "text": {
    
    "values": [],
         
    "selection_policy": "sequential"
    
    },
    
    "action": {
         
    "inputMap": {
           
    "service Id": "<serviced of the request>",
          
     "questionIdsWithDynamicAnswer":
    "$questionIdsWithDynamicAnswer"
         
    },
         
    "outputMap": {
           
    "status": "${actionResult.output.status}",
           
    "message": "${actionResult.output.message}"
         
    },
         
    "actionTypeName": "com.bmc.dsm.chatbot:fetchDynamicAnswerUsingServiceRequestId",
    
    "waitForActionExecution": true
    
        }
      }
    }

    The following image shows an example of fetching dynamic answers for the Flight Reservation service:

  8. In the Fill Questions - Flight Reservation child dialog, complete the fields.
    The following table provides examples of field values for the Flight Reservation service:

    Check forSave it asIf not preset, askTypeJSON content

    @sys-date && slot_in_focus

    $departingDate


    Required

    {

      "context": {

        "departingDate": "<? @sys-date+' '+((entities['sys-time'] == null) ? '00:00:00': @sys-time) ?>",

        "show_flyingTo": "true"

      }

    }

    $flyingTo == null && $show_flyingTo == true

    $temp


    Optional

    {

      "context": {

        "temp": "$flyingTo == null && $nextStep == 5",

        "sys_options": "<? context.bmc_lookup_mappings.get('66c33cf7-9a11-9104-a2b8-a5e06f2bc9be') ?>",

        "bmc_dynamicQuestionId": "66c33cf7-9a11-9104-a2b8-a5e06f2bc9be",

        "bmc_isCurrentAnswerValid": "false"

      }

    }

    input.text && slot_in_focus && $bmc_isCurrentAnswerValid

    $flyingTo

    Flying To

    Required

    {

      "context": {

        "flyingTo": "<? input.text ?>"

      }

    }

    $flyingTo != null

    $temp


    Optional

    {

      "context": {

        "temp": "$flyingFrom != null",

        "bmc_dynamicQuestionId": null,

        "bmc_isCurrentAnswerValid": "false"

      }

    }

  9. Save your specifications and close the JSON editor.


 How do I enable an attachment in IBM Watson Assistant without using the Publish Chat-enabled service wizard?
  1. Log in to your IBM Cloud account.
  2. Navigate to the IBM Watson Assistant Skills that is configured with BMC Helix Chatbot, and take the backup of the skill.
  3. Navigate to the dialog that contains intent for the service that has attachments.
  4. In the Attachment Question child dialog, complete the fields.
    The following table provides examples of field values for the Flight Reservation service:

    Check forSave it asIf not preset, askTypeJSON content

    @sys-date && slot_in_focus

    $returningDate


    Required

    {

      "context": {

        "show_attachmentDocument": "true",

        "returningDate": "<? @sys-date+' '+((entities['sys-time'] == null) ? '00:00:00': @sys-time) ?>"

      }

    }

    $attachRequiredDocument == null && $show_attachmentDocument == true

    $temp


    Optional

    {

      "context": {

        "temp": "$attachRequiredDocument == null",

        "$bmc_isCurrentAnswerValid": "false",

        "bmc_import_wizard_response_type": "Attachment"

      }

    }

    input.text && slot_in_focus && $bmc_isCurrentAnswerValid

    $attachRequiredDocument

    Flying To

    Required

    {

      "context": {

        "attachRequiredDocument": "<? input.text ?>"

      }

    }

    $attachRequiredDocument != null

    $temp


    Optional

    {

      "context": {

        "temp": "$attachRequiredDocument != null",

        "$bmc_isCurrentAnswerValid": "false"

      }

    }

  5. Save your specifications and close the JSON editor.

Additional resources

The following links provide information outside of the BMC Helix Chatbot documentation that you might find helpful:

  • BMC Helix Platform
  • BMC Helix Digital Workplace Advanced
  • BMC Helix Business Workflows
  • BMC Remedy Single Sign-On
Was this page helpful? Yes No Submitting... Thank you

Comments