We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Custom Dynamic Translation Configuration

PJBNascimento
Tera Contributor

I am working on a POC to create a custom Translator Configuration to use in Dynamic Translation.
Since I can't test any of the OOTB integrations (Microsoft Azure Translator Service Spoke for example) because I don't have a valid API key for any of these services, I can't see these subflows running successfully, view the actual values that are sent as input to the subflow and then see what is sent as output from the subflow. And since the documentation is very limited in this regard, it is quite difficult to implement something successfully.

Instead of starting from scratch, I decided to copy one of the OOTB subflows and try to replicate it as much as possible.

I created a subflow that uses Open AI and receives exactly what Microsoft's OOTB spoke receives, but I can't be sure if the output of my subflow is exactly the same as what the OOTB subflow returns (this is because, as I said above, I can't test the OOTB subflow because I don't have a valid API key for that service).

Image2 shows what my subflow is returning as output.

The subflow runs when I click on the Translate button > Image 1.
And this is due to the Translator Configuration I created > Image0.

 

The output of my subflow was built taking in consideration the documentation available here: https://www.servicenow.com/docs/r/platform-administration/dynamic-translation/integrate-translation-...

In summary, it seems to me that everything is more or less configured correctly, but I deduce that there is a problem with the output of my subflow, which probably does not have all the necessary information or it is not well formatted, and this causes the content that is being translated correctly by my subflow not to then be displayed in the UI.

Can anyone help?

0 REPLIES 0