630 likes | 795 Views
Troubleshooting Kinetic Request and Task. You will never find a more wretched hive of scum and villainy. Derick Larson. Support/Training. Fun Star Wars fact! “ … “ I have a bad feeling about this ” was said five times in the original trilogy. Han twice, Luke, Leia, and C-3PO once… ”.
E N D
Troubleshooting Kinetic Request and Task You will never find a more wretched hive of scum and villainy.
Derick Larson Support/Training Fun Star Wars fact! “…“I have a bad feeling about this” was said five times in the original trilogy. Han twice, Luke, Leia, and C-3PO once…” 10 years at Kinetic Data Phone:651-556-1020 Email:support@kineticdata.com
Jarrod Augustson Developer/Analyst Fun fact! “Wayne Gretzky is the All Time Point Leader. If he had never scored a Goal he would still have the Point Lead by 76. Oh and he had 894 Goals …” 8 years at Kinetic Data Phone: 651-556-1020 Email: Jarrod.Augustson@kineticdata.com
Chris Woyton Support/Training Fun Dr. Who fact! “…David Tennnant (tenth Dr.) is married to the daughter of Peter Davison (fifth Dr.)…” 3 years at Kinetic Data Phone:651-556-1020 Email:support@kineticdata.com
Brent Hanson Developer / Analyst / Support Engineer / Office “Schneider” Fun fact! “The world’s largest Lego model is of an X-Wing fighter and is made up of 5,335,200 pieces.” 9 yrs, 4 months, 15 days, 6 hours and approx. 30 minutes at Kinetic Data Phone: 651-556-0922 Email:brent.hanson@kineticdata.com
Agenda • Installs • Tasks • Events • More Questions
Installs “…and ‘poof’, it’s installed.”
Agenda • Compatibility – What versions can I use? • Requirements of other stuff for our stuff • Let’s talk about license keys • The power of the log file
Kinetic Community • http://community.kineticdata.com • Install files and instructions • Lots of interesting, cool and helpful information
Compatibility http://community.kineticdata.com/10_Kinetic_Request/Install_Files/Compatibility
Request 5.1 / Task 3.0 Compatibility Pack • Required to run Kinetic Task 3.0 against Kinetic Request 5.1 • Remedy definition file • Installed AFTER both Request and Task are installed and configured • Run Data Upgrade Form on upgrade • http://community.kineticdata.com/10_Kinetic_Request/Install_Files/Compatibility/Request_5.1_%2F%2F_Task_3.0_Compatibility_Pack
Application Requirements • Request 5.0.0 – 5.1.0 & Task 1.0.0 – 2.0.2 • ARS 6.3 or greater • Java 1.5 or greater– 32-bit only • Web server – 32-bit only • Request 5.1.1 & Task 3.0.0 • ARS 7.0 or greater • Java 1.6 or greater– 32-bit or 64-bit • Web server – 32-bit or 64-bit
What bit? • 64-bit is preferred • Java version needs to be 64-bit • Servlet engine needs to be 64-bit • Warning: Kinetic Request installer (and Task 2.x and older) installs 32-bit tomcat • Install your own stand-alone 64-bit servlet engine then manually deploy the application.
License Keys • Request is licensed on a per Remedy server basis • License vs. License Key • License is something you purchase • License Key is something we give you to make the application work
Generating License Keys • License keys are generated against a single Remedy server or a server group name • Remedydev01.mycompany.com • Remedyprod.mycompany.com • Can use short name or FQDN • demo or demo.kineticdata.com • Server name used to generate the key must match name used to configure your application
Where do I find the error information? • You find them in the log files • http://mywebserver.mycompany.com:8080/kinetic/AdminConsole
Tasks The little engine that does.
Tasks • Basics • Operations • Logs • Exceptions • Retrys • Breaking down the data • Common Errors
Basics • What the Task Engine Does • Collect Triggers • Process Trees • Compatibility • Java Versions • Kinetic Request Versions • http://community.kineticdata.com/20_Kinetic_Task/Install_Files/Compatibility • Logs • Where • Differences
Exceptions • Components • Retry • The Forbidden Trigger • Create a Start Trigger from the Console
When to Retry - Exceptions • Data Issues • Logic? • Logic? • Skipping • You Don’t Know When Not to Retry - Exceptions
The Forbidden Trigger • NOT SUPPORTED! – REALLY – WE MEAN IT! • When to use • When not to use • Why Not? • http://community.kineticdata.com/20_Kinetic_Task/Solutions/Manually_Starting_Nodes_with_Triggers • Required Fields: source, source_id, task_tree_instance_id, task_tree_node_id, action_type (Root), execution_type (Active), status (new), assignee_group(Public)
Manually Creating Start Triggers • What? – Why? • Really just for testing • What do you need? • Results • http://your_server/kineticTask/start_tasks.html
Common Issues – (In)Valid XML • Passing Valid XML • http://community.kineticdata.com/20_Kinetic_Task/Solutions/Eliminate_Invalid_XML_Characters • Results Passed by Approvals • Messages • Engine will interpret the escaped characters • Invalid Characters: &, <,> • Replacements %amp; %gt; %lt;
Common Issues – nil:NilClass • Ruby Related Issue • Init.rb or connectors • Perform method on a nil/null object • Value not set or missing answer/result
Join - Junction • Nodes with Multiple Parents • Must be a Join or Junction • Warning in the Logs • 2014-02-13 00:18:16,277 WARN [engine-worker-1 (2002)] - WARNING: The 'End of Person Retrieve' (system_noop_v1_2) node on the 'bad join test' (AGGAAC47DR176ANAXIF9ARDN669A4S) tree has multiple parents. To ensure future compatibility, a Join (likely of Type 'Any') or Junction should be inserted ahead of this node.
Super Fun Happy Times with Events Who knew we would all become Event Planners?
Agenda • What are Events? • Be an Event Detective • Common Problems • Troubleshooting – Use the Event Detective Skills • Thank you Brent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
What are Events? • Javascript • Events Occur as a Customer is filling out a Request • Insert/Remove • Require/Optional • Set Fields – Internal or External • … • Custom • In other words Events are Magic
Be an Event Detective • What’s Expected? • What Actually Happens? • When does the Problem Occur? • Have any Changes been Made? – The Answer is YES
Common Problems • ERROR (303): Form Does Not Exist on Server; • A Question is Required but Not Displayed to the End User
Form does not exist on server • ERROR (303): Form does not exist on server;
Be an Event Detective • What’s Expected? • Open the Service Item and the Category is Populated
Be an Event Detective • What Actually Happens? • Open the Service Item Boom…Error
Be an Event Detective • When does the Problem Occur? • On Load
Be an Event Detective • Have any Changes been Made? • Service Item Moved into Production
Be an Event Detective • What are our Clues? • The Page Load Causes an Error • Service Item was Moved to Production • Error Message: Form Does Not Exist on Server
Troubleshooting • Review Events on the Page Load • Look for Set Fields – External Events
Fix • Finding: • JMA-CTI Testing Form Does Not Exist in Production • Fix: • Import JMA-CTI Testing Form into Production
Required but Not Displayed • A Question is Required but Not Displayed to the End User
Be an Event Detective • What’s Expected? • Select Software and Software Cost is Inserted and Required