VMware Cloud Community
rajuroks
Enthusiast
Enthusiast

View CmdLet sendLinkedCloneRecompose workflow error

I had given "psschedule" parameter as "date" giving the input and when I execute this work flow I am getting the below error

  • [2014-04-24 09:38:44.594] [D] Invoke command in session bb4dc1d5-1979-49d8-aaa0-5694f8c223fc [2014-04-24 09:38:45.550] [I] [2014-04-24 09:38:45.588] [D] Invoke command in session bb4dc1d5-1979-49d8-aaa0-5694f8c223fc [2014-04-24 09:38:48.037] [E] PowerShellInvocationError: Errors found while executing script System.Management.Automation.ParameterBindingException: Cannot bind parameter 'schedule'. Cannot convert value "org.mozilla.javascript.NativeDate@5bb12657" to type "System.DateTime". Error: "The string was not recognized as a valid DateTime. There is a unknown word starting at index 0." ---> System.Management.Automation.PSInvalidCastException: Cannot convert value "org.mozilla.javascript.NativeDate@5bb12657" to type "System.DateTime". Error: "The string was not recognized as a valid DateTime. There is a unknown word starting at index 0." ---> System.FormatException: The string was not recognized as a valid DateTime. There is a unknown word starting at index 0.    at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)    at System.DateTime.Parse(String s, IFormatProvider provider)    --- End of inner exception stack trace ---    at System.Management.Automation.LanguagePrimitives.ConvertViaParseMethod.ConvertWithCulture(Object valueToConvert, Type resultType, Boolean recursion, PSObject originalValueToConvert, IFormatProvider formatProvider, TypeTable backupTable)    at System.Management.Automation.LanguagePrimitives.ConvertTo(Object valueToConvert, Type resultType, Boolean recursion, IFormatProvider formatProvider, TypeTable backupTypeTable)    at System.Management.Automation.LanguagePrimitives.ConvertTo(Object valueToConvert, Type resultType, IFormatProvider formatProvider)    at System.Management.Automation.ParameterBinderBase.CoerceTypeAsNeeded(CommandParameterInternal argument, String parameterName, Type toType, ParameterCollectionTypeInformation collectionTypeInfo, Object currentValue)    --- End of inner exception stack trace ---    at System.Management.Automation.ParameterBinderBase.CoerceTypeAsNeeded(CommandParameterInternal argument, String parameterName, Type toType, ParameterCollectionTypeInformation collectionTypeInfo, Object currentValue)    at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)    at System.Management.Automation.CmdletParameterBinderController.BindParameter(CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags)    at System.Management.Automation.CmdletParameterBinderController.BindParameter(UInt32 parameterSets, CommandParameterInternal argument, MergedCompiledCommandParameter parameter, ParameterBindingFlags flags)    at System.Management.Automation.CmdletParameterBinderController.BindParameters(UInt32 parameterSets, Collection`1 arguments, CommandMetadata commandMetadata)    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)    at System.Management.Automation.CommandProcessor.BindCommandLineParameters(CommandParameterInternal[] parameters)    at System.Management.Automation.CommandProcessor.Prepare(CommandParameterInternal[] parameters)    at System.Management.Automation.CommandProcessorBase.DoPrepare(CommandParameterInternal[] parameters)    at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) (Dynamic Script Module name : invokeCommand#14)
Reply
0 Kudos
0 Replies