Forum Stats

  • 3,759,900 Users
  • 2,251,613 Discussions
  • 7,870,859 Comments

Discussions

Pass data to Intelligent Advisor

Afnan
Afnan Member Posts: 1 Green Ribbon

I am trying to embed an interview into RightNow CRM and am looking to forward a few data fields to the interview.

I have tried the following code

<?php

    $seedData = new \stdClass();    

    $seedData->courseName = 'Internet of Things';

    $seedDataJson = json_encode($seedData);

    ?>

    <rn:widget path="custom/opa/OPAWidget" policy_model="Test Project" seed_data=#rn:php:$seedDataJson# />


I see the following error

An error has occurred while loading data and the session can not be created.

For further assistance please contact support.


I am not sure how to debug this one. I have set custom properties in the interview designer in the policy manager