IT Process Automation

 View Only
  • 1.  Convert to UTF on passing parameters

    Posted Jan 15, 2019 08:28 AM

    Hi guys, I'm trying to execute a powershell script using the run script operator, the script works well, but when I pass the parameters for the powershell script, the parameters are converted to ASCII pattern.

     

     

     

     

       I am trying pass the parameter message to the script.

     

    The variable $msg receive the value from Process.message  and the variable $msg is  being passed by parameter to a nodejs script.

      

     

     

    The script works well, but if you look at dataset painel, the value of the variable "scriptOutput" is out of  utf-8 format

     

     

    anyone could help me? 

    Thanks



  • 2.  Re: Convert to UTF on passing parameters
    Best Answer

    Broadcom Employee
    Posted Feb 22, 2019 09:33 AM

    You may need to escape the special characters or possibly use CDATA tags which should tell java and/or powershell to not convert anything about the string you are passing.



  • 3.  RE: Convert to UTF on passing parameters

    Posted Jul 19, 2019 10:26 AM
    Hi, have you solved the problem?
    I have the same issue.

    Thanks