Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Translate short_description of task created in workflow

salunkekomal199
Kilo Contributor

Hi everyone

I have the following scenario:

Tasks are created in a workflow and should be worked on by users who speak different languages. I need to translate the content of the short_description field into the different languages. I tried using Translated Text (Using Translated Text - ServiceNow Wiki) but this only translates the text of one task and not of all tasks. I thought that I could use Translated Name / Field (Language Internationalization - ServiceNow Wiki) but I can't set the type of short_description to translated_field (not available as a choice).

Is there another way?

Any help is greatly appreciated!

1 REPLY 1

rbeeman
Mega Sage

Hi Komal,



Have you looked at Messages (sys_ui_message) in the Language Internationalization - ServiceNow Wiki   that you mentioned? You can use an advanced script with


task.short_description = gs.getMessage("your_message_name");


in workflow activity for your Short Description to be translated.