PureEngage On-Premises

 View Only

Sign Up

  • 1.  Interaction.added event thrown in scxml

    Posted 07-01-2016 07:18
    Iam working on a PoC on implementing ORS in our environment.
    Iam performing testing now & getting interaction.added event. 

    What are the possible occurences of the event in a scxml code?

     


  • 2.  RE: Interaction.added event thrown in scxml

    Posted 07-01-2016 09:29
    Hi,
    Further Analysis shows that, interaction.added is a valid event to start the scxml processing.
    But the below error is thrown.
    Orchestration session: 2O7DQD2EMH527AMA2U0B3F9BOO000001 has encountered an execution error: ReferenceError: initializeRoutingSystemVariables is not defined. Line 1 - in <script> at line: 2230.
    23:08:50.197 [T:2168] {ScxmlMetric:3} METRIC <exec_error sid='2O7DQD2EMH527AMA2U0B3F9BOO000001' result='ReferenceError: initializeRoutingSystemVariables is not defined. Line 1 - in <script> at line: 2230' thread='2168' />

    When searched I did not find this function being defined in any of the .js files. Any suggestions please?

    Thanks,
    Sundari.
     


  • 3.  RE: Interaction.added event thrown in scxml

    Posted 07-01-2016 10:55
    Hi,

    this method is deployed within RouteFeature.js file which should be created and deployed by the composer by default (you can find him under sample ORS projects).

    HTH!

    Regards,
    --Jakub--


  • 4.  RE: Interaction.added event thrown in scxml

    Posted 07-05-2016 10:22

    Hi,

    Am using the latest composer version and still, there are few functions not present in the js files. Any suggestions?

    Also, I am debugging the issue and unable to arrive at a solution.
    The screenshot of the logs are as below.

    ------------->>>
    04:33:20.747 [T:3676] {ScxmlMetric:3} METRIC <eval_condition sid='2O7DQD2EMH527AMA2U0B3F9BOO000002' condition='typeof system.SessionID == 'undefined'' result='true' thread='3676' />
    04:33:20.747 [T:3676] {ScxmlMetric:3} METRIC <event_processed sid='2O7DQD2EMH527AMA2U0B3F9BOO000002' name='interaction.added' disposition='transition selected' duration='4321' thread='3676' />
    04:33:20.747 [T:3676] {ScxmlMetric:3} METRIC <transition sid='2O7DQD2EMH527AMA2U0B3F9BOO000002' name='_composer_application' event='*' line='2649' thread='3676' />
    04:33:20.747 Trc 23023 [T:3676] METRIC <log sid='2O7DQD2EMH527AMA2U0B3F9BOO000002' expr='interaction.added event received in user application thread ({name:"interaction.added", data:{interactionid:"L1U47BL5O54SN9GEHU4U92NML000001T"}, invokeid:"", sendid:"", type:"platform"})' label='' level='1' thread='3676' />
    04:33:20.747 Alr 23019 [T:3676] Orchestration session: 2O7DQD2EMH527AMA2U0B3F9BOO000002 has encountered an execution error: TypeError: _data.system.ipd is undefined. Line 422 - in <script> at line: 2651.
    04:33:20.747 [T:3676] {ScxmlMetric:3} METRIC <exec_error sid='2O7DQD2EMH527AMA2U0B3F9BOO000002' result='TypeError: _data.system.ipd is undefined. Line 422 - in <script> at line: 2651' thread='3676' />
    04:33:20.747 [T:3676] {ScxmlMetric:3} METRIC <event_queued sid='2O7DQD2EMH527AMA2U0B3F9BOO000002' name='error.script.TypeError' type='platform' thread='3676' />
    04:33:20.747 [T:3676] {ScxmlMetric:3} METRIC <transition sid='2O7DQD2EMH527AMA2U0B3F9BOO000002' name='_composer_event_handler' cond='typeof system.SessionID == 'undefined'' event='interaction.added' line='2666' thread='3676' />
    ---------------->>

    Any help here much appreciated..

    Thanks,
    Sundari.

     



  • 5.  RE: Interaction.added event thrown in scxml

    Posted 07-08-2016 06:39
    I have never encountered similar issue - but, as the quick solution you can easily copy a paste the required JS files from any existing project or provided samples by Genesys Composer.

    HTH!

    Regards,
    --Jakub--