11-07-2016 10:25 PM - edited 03-14-2019 04:44 PM
I was working on script for UCCX 11.0 .
It was just working fine, but now validation is failing.
I was working on call redirect step after that issue occurred.
I don't have another copy of script so need to fix this one.
In order to isolate the issue i tried deleting each step and validate. But to my surprise even if i delete all the step in script and all the variable ,
still validation fails with same error.
Can any one has any idea how to fix the same
Solved! Go to Solution.
11-08-2016 07:53 AM
Holy crap, I went through and deleted every single step/parameter. Yet validation still failed.
Very curious to see what you find, Deepak!
Haris, If it was me I would rebuild the script from ground up. Seems almost like something in the back-back end code got corrupt.
11-10-2016 10:10 AM
Checked your script from every possible way but that does not seem to work. You will need to create it from scratch, don't do copy and paste simply a new script altogether.
Regards
Deepak
11-07-2016 11:01 PM
Attach your script here.
Regards
Deepak
11-08-2016 12:10 AM
Attached
11-10-2016 10:10 AM
Checked your script from every possible way but that does not seem to work. You will need to create it from scratch, don't do copy and paste simply a new script altogether.
Regards
Deepak
11-08-2016 07:53 AM
Holy crap, I went through and deleted every single step/parameter. Yet validation still failed.
Very curious to see what you find, Deepak!
Haris, If it was me I would rebuild the script from ground up. Seems almost like something in the back-back end code got corrupt.
04-26-2017 11:25 PM
As Suggested had to rebuild the whole script. I did copied the steps from old int to new.
And created all the variable manually( As cannot copy variable between scripts) and it worked then.
Thanks for Support
04-29-2017 07:33 PM
Sorry I didn't see this earlier, what an interesting problem. threw this at ContactView and it blew up just like the script editor. I was able to determine the cause of the issue.
The reason the script failed to validate even after @Sean Vaidya deleted all the steps is because the issue is with the start step itself.
Did anyone notice you can delete the Start step in the provided script?
So, after determining the issue I was determined to correct it. To do so I had to re-insert a new Start step (because of course you can't drag one from the pallet), and then reconnect it to the Accept step.
You can see the raw output in this screenshot:
Now this image is deceiving, notice how the first two steps are Start then Accept, followed again by the original Start/Accept steps (notice the comment)? These had to be removed. Once deleted you now have a valid script:
Boom, there it is. I've attached the AEF for funzies even though you've already re-built it by hand. Rebuilding it was the right choice, I doubt anyone else could have repaired the AEF.
Thanks for sharing this with the community, found out some new cool stuff and even found some unsuspecting bugs in ContactView thanks to your AEF.
Regards,
Tanner Ezell
05-04-2017 01:14 AM
+5 Awesome,
05-08-2017 01:04 PM
How Did you add the Start Step Again in the Script ??
05-08-2017 01:22 PM
I have a unique understanding of the AEF and built tools so I can modify it directly. This isn't something you could have done yourself with the tools available.
05-08-2017 01:56 PM
Impressive.
Good find, Tanner!
That start step is really screwed up...
Can't edit the comment on it, neither can I undo a delete on it.
05-08-2017 09:17 PM
Yeah I don't know how it happened but the entire step was corrupted, it took a bit of trickery to make it work again.
06-16-2017 01:03 PM
I've seen a couple of scripts that became corrupted after being opened and saved with an older version of script editor. Great work, Tanner!
05-11-2017 08:03 AM
Great Stuff Tanner [+5]
Regards
Deepak
06-16-2017 01:29 PM
I doubt anyone else could have repaired the AEF
Look at Mr. Big Shot AEF Repairer over here. ;)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide