Now Assist skill works in standalone testing but fails from Flow Designer with an FDIH error

ShumaS
Tera Contributor

Hello,

I created a custom Now Assist skill and am trying to run the skill from Flow Designer using the Execute Skill action.

The skill completes successfully when tested directly in Now Assist Skill Kit. However, when the same skill is called from Flow Designer, the Execute Skill action fails with the following error:

 
Error while executing sync feature FDIH call.
Feature_name: <feature_id>-2
Service plan invocation id: <invocation_id>

 

The error occurs almost immediately. The following system property is already set to 300 seconds, so the issue does not appear to be caused by the interactive timeout:

 
com.glide.cs.fdih.interactive.timeout = 300

 

The skill receives an Incident record as input, searches for similar incidents and recent outage notification knowledge articles, and returns structured output.

 

Could anyone advise on the following?

  1. Why might a skill work in standalone testing but fail only when called through the Flow Designer Execute Skill action?
  2. Where can I find the detailed error information for the Service Plan Invocation ID?
  3. What does the -2 suffix in the feature name represent?
  4. Are there any additional activation, publication, or configuration requirements for executing a custom skill from Flow Designer?
  5. Are there any known issues with the Execute Skill action or synchronous FDIH calls?

Any guidance on the relevant logs, tables, or troubleshooting steps would be appreciated.

Thank you.

1 REPLY 1

Rajesh_Singh
Kilo Sage

Hi @ShumaS,

 

This is expected once you look at how Execute Skill is meant to be called. Skill Kit test runs the skill directly. The Flow action only runs a skill that is published, activated, and deployed as a Flow action, and it fails immediately if that path is not complete. Your timeout property is not the cause here, because the error comes back at once, not after 60 or 300 seconds.

 

Work through this out of box checklist.

 

1. In Skill settings > Deployment settings, set Workflow, Product and Feature, and select the Flow action (Workflow Studio) option.

2. Finalize and publish the skill, then activate it in Now Assist Admin (AI Admin) with the Flow action toggle turned On. The Execute Skill action only runs a published skill that is activated for Flow action.

3. In the flow, open Execute Skill and set Workflow, Product, Feature and Skill Config to those same deployment values, and map Skill Inputs (your Incident record) to the input the skill expects. A missing or wrong input fails fast.

4. Confirm Now Assist Skill Kit is active, and that the user the flow runs as has access to the skill and to the incident.

 

3619637_1.png

 

By doing this, you can use the same skill in Skill Kit and in Flow, and you only maintain the skill configuration, not a custom integration.

 

For the detailed error, if the skill is deployed as a flow, turn off the com.glide.oneapi.fdih.async.quick.mode system property and then turn on flow reporting. That is what generates flow execution details for the skill. Then open the execution details for the Execute Skill step, and look up the Service plan invocation id in the Generative AI log (sys_generative_ai_log). I would not treat the -2 suffix on the feature name as something you configure; use the invocation id in those logs. If it still fails immediately after the checklist, this is a good one for a support case with that invocation id, on the current Skill Kit patch.

 

Execute Skill action: https://www.servicenow.com/docs/r/build-workflows/workflow-studio/execute-skill-action.html

Example deployment with Workflow Studio: https://www.servicenow.com/docs/r/intelligent-experiences/now-assist-skill-kit/example-deployment-fl...

 

If this helped, kindly mark it Helpful so others facing the same issue can refer to it.