Virtual agent error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2023 05:57 AM
Hello
I'am new in serviceNow development program and i'm facing an issue with virtual agent.
Below my project :
I would like to use the VA UI to get user questions and in the background use an API to get answer with a Q&A tools with GPT.
So the workflow is : User input through VA > Use a Topic Block to Call REST > REST Call to my API > Response from API > VA write back answer to the user.
I know it's working because i can use it on a fresh Dev instance of a collegue, but it do not works on mine where we have a few developments that i would love not to loose them !
I probably made a miss configuration somewhere !
I have attached error message when i tried from the topic block test, but the virtuall agent flow and the rest message is working when i test them separetly
Can some one coud help me on that subject ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023 12:47 AM
Here the last error message from the VA :
- 00:37:05.696 Topic Node Script Error at topic [_PRVW__9ecf91f6d919f150da2df3317ad39f5d], at variable [vaInputs.__silent_FDIHInvocation_a4a509f1d6a54814986db90dc733ddfe], for task [b7cfd17a0715f150b1a9f1e08c1ed012], expression: [vaVars.previous_graph_node="AskQA___a4a509f1d6a54814986db90dc733ddfe";var ackMsg=null;ackMsg=(function execute() {var inputs = {};inputs[prompt] = vaInputs.query.getValue();var outputs = {"answer":"string","don_t_treat_as_error":"boolean","action_status":"object"};var outputParamNameToTopicVarExpr = {"answer":"answer","__dont_treat_as_error__":"don_t_treat_as_error","__action_status__":"action_status"};vaVars._current_fdih_contextId=vaSystem.waitForResponseFromFDIHAction_2(global.questionanswering, inputs, outputs, outputParamNameToTopicVarExpr, 2eaee3bb07ac7d10b1a9f1e08c1ed039, true);})();null;vaInputs.query.reset();vaVars.__suspendable__semaphore_a4a509f1d6a54814986db90dc733ddfe=released;(function() {vaInputs.query.reset();})();ackMsg;], error [org.mozilla.javascript.JavaScriptException: java.lang.RuntimeException: Error calling FDIH (wait for response) actionglobal.questionanswering,'
It looks like a java.lang.RuntimeException thrown during waitForResponseFromFDIHAction_2 ? But i have no idea how to fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 05:55 AM
Had similar issue with "java.lang.RuntimeException: Error calling FDIH" when trying to use action in VA. Recreating action in flow solved the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2025 05:59 AM
Had similar issue with java.lang.RuntimeException: Error calling FDIH when trying to use action in VA. Recreating action in flow solved the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 08:55 AM
Hello, I am facing the same issue , I tried reconfiguring the action but the issue still persists.