2013-03-16 10:55 PM
I have created one workflow(using the Perl existing commands).I am getting the below error when i try to run the workflow..
Do we need to do any changes in the code?.
06:47:25.686 INFO [Create Volume Perl] ### Command 'Create Volume Perl' ###
06:47:26.045 ERROR [Create Volume Perl] Failed executing command. Exception: Scalar found where operator expected at ./Create_Volume_Perl7854536634984724850.pl line 3, near "] $Array"
(Missing operator before $Array?)
Atttached the Screenshot also.
Anyone has any idea how to resolve this?.
Thanks in advance..
Solved! SEE THE SOLUTION
2013-03-21 09:00 AM
In existing power-shell commands,I selected language as "perl" and saved as another command and using it.will that not work?.
I have attached the screenshot.Can you pelase check that.
2013-03-21 09:13 AM
That will not Work. The "Language" attribute conveys the programming language used in the command code.
By Changing the "Language" attribute from Powershell to Perl does not change the command code from Powershell to Perl.
When the Custom command is being created, It can be developed using Perl or Powershell scripting. And the Same should be specified in the "Language" attribute.