Digital Exchange

last person joined: 10 hours ago 

This community is a place to discuss Blue Prism DX assets and development.

Expand all | Collapse all

Regional Settings - Set System Language doesn't work in Control mode

  • 1.  Regional Settings - Set System Language doesn't work in Control mode

    Posted 07-16-2021 10:56
    Hi All,
    I have a solution which is using a CRM system. While CRM system is launching switches the OS language to Greek. However, I need to switch back to English-US for inserting some text later. I tried using the Regional Settings object with the Set System's Language. While I am using it with F10 in process studio it works perfectly fine. However, once I am running the full process from the control room it is totally ignored. I noticed that it is also ignored if I use  step out in Process Studio and put the breakpoint enough steps after the Action of language steps. Any idea why such inconsistency occurs and how I can potentially resolve it?
    Thanks in advance!
    Cheers,

    ------------------------------
    Theo
    ------------------------------


  • 2.  RE: Regional Settings - Set System Language doesn't work in Control mode

    Posted 07-19-2021 03:06
    Hello,

    I can't seem to find the "Regional Settings" Object that you are referring to.  Could you provide a link to it on the Digital Exchange so that we can investigate further? But based on your description, it may be necessary to add in some "Sleeps" in your process to slow down the execution flow, as it may be the case where the process has gone on to further steps before the actual language change has been completed.  Try adding in a 5 second Sleep time after your language change, and see if is works in the Control Room.  If it does, you can reduce that sleep to a value that you find appropriate. 

    The major difference between executing a process from the studio and from the control room is the execution speed.  The control room runs much much faster than the studio, which is why I've suggested to add a sleep to see if it helps.

    ------------------------------
    James Man
    Professional Services
    Blue Prism
    Asia/Hong_Kong
    ------------------------------



  • 3.  RE: Regional Settings - Set System Language doesn't work in Control mode

    Posted 07-28-2021 10:02
    Hi James,
    Thank you for your response!
    I joined the project much after it started and I had the wrong impression that "Regional Settings" object was by default in Blue Prism. Unfortunately I was not able to find a link in Digital Exchange. Regardless, the code doing it is the below:

    string myLanguage = Language;

    InputLanguage.CurrentInputLanguage=InputLanguage.FromCulture(new System.Globalization.CultureInfo(myLanguage));

    Code works fine in Process Studio
    Regardless my experiments with the sleep usage it still doesn't work. Seems that when the CRM is running somehow is blocking it. I tried detaching CRM but still didn't work.



    ------------------------------
    Theodoros Papasotiriou
    ------------------------------



Welcome to the Blue Prism Digital Exchange Community!

The Blue Prism Digital Exchange is a "shop window" for new and emerging technologies—a platform that puts powerful RPA and AI capabilities into the hands of business leaders. Users can find and apply pre-built AI capabilities, in the form of downloadable integrations and Visual Business Objects (VBOs), to automated processes. These assets connect and integrate Digital Workers, existing systems and processes to Blue Prism's technology partners, creating a solid foundation of AI-enabled Intelligent Automation that's scalable and sustainable.

Blue Prism Digital ExchangeDX Asset IdeasContact DX Support

FAQs

The Blue Prism Digital Exchange (DX) is an online marketplace where businesses can instantly access, apply and share pre-built AI, cognitive and advanced RPA technologies from best-in-class providers. These assets easily connect to existing digital workers, systems and processes to enhance automation capabilities.
The Digital Exchange is free to all users. Most of the content on the DX is free to download but there are some submissions that do have a cost associated. The submissions with a cost are advertised on the asset card and profile. No unwanted costs will be applied to any users.
You can visit and browse the Digital Exchange here. If you would like to consume or download any material it is necessary to create an account on the Blue Prism Portal first.
Everyone can access the Digital Exchange and consume the assets on it. If you would like to contribute to the marketplace it is necessary that you create an account and sign up as a partner.