Release Automation

 View Only
  • 1.  Run script block - Powershell/Javascript

    Posted Sep 19, 2014 03:09 PM

    I have bunch of custom scripts whose length exceeds the allowed limit and would like to use them. I understand embedding lengthy external script in the flows is not the best practice. But.

     

    Is there a way to increase the 1024 bytes limit while using powershell/Javascript - Run script block action?

     

    Appreciate your time.

     

    Thanks!

    Sanjeev



  • 2.  Re: Run script block - Powershell/Javascript

    Posted Sep 22, 2014 10:18 AM

    Try the RDK



  • 3.  Re: Run script block - Powershell/Javascript

    Posted Sep 22, 2014 10:36 AM

    I don't want to re-invent the wheel by re-writing the run script block action which CA already has. If that's the case I can write my entire flow in a powershell script/use remoting to execute it and skip nolio



  • 4.  Re: Run script block - Powershell/Javascript

    Posted Sep 22, 2014 01:27 PM

    Did you try reading the scripts into parameter and use the parameter in the powershell/javascript actions?



  • 5.  Re: Run script block - Powershell/Javascript

    Posted Sep 22, 2014 02:35 PM

    Thanks. Yep. That would work. But in this scenario I would like to keep the script as part of nolio action instead of reading the script from an external file.