Determining the language / culture code while in a BPM

Hello Graeme,

In your BPM add a Code widget and in there you can set the following:

if(Session != null )
{
  
  callContextBpmData.ShortChar01 = Session.LanguageID;
}

Then you can use ShortChar01 to detect if = “frc” or “enu” and select the right exception message!

image

Then change language to english

image

1 Like