Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

UCCX 8.5 Script - Variable changes when starting debug

I am trying to read an XML file for the holiday date function. I keep getting an error that docdatelist has no value. Prior to stating the debug I set the docdatelist variable (the type is document) to DOC[holidaydates.xml] . After i start debugging  and pass the "start" step the docdatelist  value automatically changes to NULL. I understand why.

Attached are 2 screen shots.

  • Contact Center
2 REPLIES

UCCX 8.5 Script - Variable changes when starting debug

I don't have an answer for you, but I wanted to say that this is happening to me too.  The system I am on is 8.5(1)SU4ES02_15.

Good luck.  Keep us posted.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.

Anthony Holloway Please use the star ratings to help drive great content to the top of searches.

UCCX 8.5 Script - Variable changes when starting debug

I think I found a bug that matches this.  Take a look at CSCue59553.  It affects these non-reactive debugs.  It also mentions affecting applications without a trigger.  I've still got a TAC case open on this waiting for confirmation, but I think this will be our issue. 

Symptom:

1. When using the non-reactive debugging feature of the Unified Contact Center Express Editor to step through a Document step, such as "Create XML Document", it fails to execute showing the following error message:

"Source Document variable "start" has null value"

2. When calling an Application bound to a script containing a Document step, such as "Create XML Document" from another script with the 'Trigger Application' step, the XML object is not populated and data from the XML file is not processed.

Conditions:

Unified Contact Center Express versions with the fix for CSCuc15580 (versions: 8.5(1)SU4+).

As part of the fix for CSCuc15580, an active Trigger (ContactApplicationTrigger) was made compulsory to access the XML document data using Create XML Document step. Non-reactively debugging or calling an Application without a Trigger from the 'Trigger Application' step does not product a ContactApplicationTrigger.

Workaround:

1. Use Reactive Debugging from the UCCX Editor instead.

2. Redirect the call from the originating script to the destination Application referencing the script that contains the Document steps instead of using the 'Trigger Application' step. Symptom:
1. When using the non-reactive debugging feature of the Unified Contact Center Express Editor to step through a Document step, such as "Create XML Document", it fails to execute showing the following error message:
"Source Document variable "start" has null value"
2. When calling an Application bound to a script containing a Document step, such as "Create XML Document" from another script with the 'Trigger Application' step, the XML object is not populated and data from the XML file is not processed.
Conditions:
Unified Contact Center Express versions with the fix for CSCuc15580 (versions: 8.5(1)SU4+).
As part of the fix for CSCuc15580, an active Trigger (ContactApplicationTrigger) was made compulsory to access the XML document data using Create XML Document step. Non-reactively debugging or calling an Application without a Trigger from the 'Trigger Application' step does not product a ContactApplicationTrigger.
Workaround:
1. Use Reactive Debugging from the UCCX Editor instead.
2. Redirect the call from the originating script to the destination Application referencing the script that contains the Document steps instead of using the 'Trigger Application' step.

561
Views
0
Helpful
2
Replies