Help with flow designer

Abhijit Das7
Tera Expert

Hi All,

 

I am using flow designer to create flow to translate knowledge article during creating knowledge article :

1. Right now I am working to translate short description of knowledge article.

2. I am not understanding how to translate article body of knowledge article 

 

Flow Designer :

Trigger :

trigger.PNG

 

Action : Translate Text (short description )

language.png

If I am populating target language manually ( static , eg ; es - spanish ) then the short description is translating. But when I am using language data pill to select language dynamically then short description is either not translating or becoming empty. 

Action : Update Record

short desc.PNG

 

I am populating short description using script :

/*
**Access Flow/Action data using the fd_data object. Script must return a value.
**example: var shortDesc = fd_data.trigger.current.short_description;
**return shortDesc;
*/
var languageArray = fd_data._1__translate_text.translations;
var translatedShort = languageArray[0].translatedText;

return translatedShort;
 
Please help me translating short description of knowledge article using language data pill and how can I translate article body of knowledge article .
 
 
Thanks in advance
5 REPLIES 5

FredricS
Tera Contributor

I'm also having this problem, anyone knows a solution?