Use gs.getMessage in flow designer? (Field Script)

Meloper
Kilo Sage

is it possible to use gs.getMessage in flow designer? (Field Script)

3 REPLIES 3

Dominik H
Tera Guru

Follow below link. Need to create scripted action and us gs.getMessage() there

https://www.servicenow.com/community/developer-articles/flow-designer-action-quot-get-system-propert...

sabell2012
Mega Sage
Mega Sage

Meloper:

 

Unfortunately, it does not appear to work in Flow Designer. I have tried it in various ways. The only way I was able to get this to function is to create a Script Include and call it from there in a Script Step.

 

Steven.

klausj62
Tera Contributor

I do this way:

 

 

 

return gs.getMessage('some_key_in_sys_ui_message')