0
Answered

IMAP Mail

Jonathan Hallam 9 years ago in Studio / Toolbox updated by zqqraa 7 years ago 2

Hi,


How can I monitor a gmail mailbox then action a flow when a email is received?

Answer
anonymous 9 years ago

Hi,


Unfortunately we have not built a connector to read a mail box. Thanks for the suggestion though.


Thanks

0
Fixed

Critical : Warewolf Must Restart. All open tabs will be saved. Please take the time to report this error to the community.

Anonymous 9 years ago in Studio updated by Nathi 9 years ago 8
Email Address : mdplaisted@gmail.com Steps to follow : Deleting folder from server due to flows no longer executing. at Dev2.Studio.Core.AppResources.Repositories.ResourceRepository.d__63.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Dev2.Studio.ViewModels.DependencyVisualization.DependencyVisualiserViewModel.d__40.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
0
Answered

Executing javascript (question and ideas)

playsted 9 years ago in Server / Execution updated by Pieter 9 years ago 6

What javascript execution engine is used? I have having issues with scripts as some functions are not working properly.


Problem 1:

"testString".endsWith("g");

is valid javascript and works with node and browsers. This should return true.


However running this as a script in a workflow results in an error due to it not being a function.


Problem 2:

If I use variables in the script the strings are not escaped.

Variable:

[[testPath]] = "C:\test"

In script:

"[[testPath]]" => "c:est"



Suggestions:


I think it would be very powerful to use node.js as the javascript execution as it is so widely used. Edge.js is a c# library that allows node to easily be executed from .Net. I haven't researched it much but may be an option.


As far as escaping strings you could predefine them all on a javascript object that the script runs in. Instead of using [[varName]] we could just use $ww.varName if we use $ww as the example object that Warewolf populates. This would take care of string escaping problems and even allow complex objects to be manipulated as expected while coding javascript.


execution server workflow
Answer
Pieter 9 years ago

Hi Playsted,


We will look into updating the library in a coming version.


Thanks for the suggestion and thinking on this we will definitely consider it.

0
Answered

Workflow Persistence

playsted 9 years ago in Server / Execution updated by anonymous 9 years ago 1

Hello,


Is workflow state persisted? Can long running workflows (for example if waiting for user interaction/approval) be resumed on server restart? I know workflow foundation supports this (if enabled) but didn't see any specifics in documentation.


Thanks

execution service workflow
Answer
anonymous 9 years ago

Hi Playsted,


We have moved away from using the Workflow Foundation engine and in doing so we did not have an immediate requirement from any of our customers to support workflow persistence, and so we did not implement it. So at present there is no state persistence in Warewolf, however should the requirement arise in the market then we can implement it.


Thanks

0
Fixed

IDsObjectPicker.Initialize failed

Anonymous 9 years ago in Studio updated by Pieter 9 years ago 5
Email Address : No Email Provided

Steps to follow : No Steps Provided

at CubicOrange.Windows.Forms.ActiveDirectory.DirectoryObjectPickerDialog.Initialize()
at CubicOrange.Windows.Forms.ActiveDirectory.DirectoryObjectPickerDialog.RunDialog(IntPtr hwndOwner)
at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)
at Dev2.Settings.Security.SecurityViewModel.ShowDirectoryObjectPickerDialog(IWin32Window parentWindow)
at Dev2.Settings.Security.SecurityViewModel.PickWindowsGroup()
at Dev2.Settings.Security.SecurityViewModel.PickWindowsGroup(Object obj)
at Dev2.Runtime.Configuration.ViewModels.Base.DelegateCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Answer
Pieter 9 years ago

HI,


This will be resolved in an upcoming version.


Thanks for the report.

0
Planned

Object reference not set to an instance of an object.

Anonymous 9 years ago in Studio updated by anonymous 9 years ago 2
Email Address : tedwardc@gmail.com

Steps to follow : I opened a simple SQL Server activity that worked yesterday... but I just got the latest DEV build tonight to see if other issues and this error popped up.

at Dev2.Activities.Designers2.Core.ActivityDesigner`1.ToggleView(MouseButtonEventArgs eventArgs) in C:\Users\Ed\Source\Repos\Warewolf\Dev\Dev2.Activities.Designers\Designers2\Core\ActivityDesigner.cs:line 132
at Dev2.Activities.Designers2.Core.ActivityDesigner`1.OnPreviewMouseDoubleClick(MouseButtonEventArgs e) in C:\Users\Ed\Source\Repos\Warewolf\Dev\Dev2.Activities.Designers\Designers2\Core\ActivityDesigner.cs:line 93
at System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnPreviewMouseDownThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Answer
anonymous 9 years ago

Hi Ed,


Glad to hear you got sorted out, The bug will be resolved in an upcoming version.

0
Fixed

installer server startup error

Anonymous 9 years ago in Installer updated by Gandalf 9 years ago 2

2016-06-29 22:55:59,218 [4] ERROR - System.Configuration.ConfigurationErrorsException: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened. (C:\Program Files (x86)\Warewolf\Server\Warewolf Server.exe.secureconfig line 3) ---> System.Configuration.ConfigurationErrorsException: The RSA key container could not be opened.

at System.Configuration.RsaProtectedConfigurationProvider.ThrowBetterException(Boolean keyMustExist)
at System.Configuration.RsaProtectedConfigurationProvider.GetCryptoServiceProvider(Boolean exportable, Boolean keyMustExist)
at System.Configuration.RsaProtectedConfigurationProvider.Decrypt(XmlNode encryptedNode)
at System.Configuration.ProtectedConfigurationSection.DecryptSection(String encryptedXml, ProtectedConfigurationProvider provider)
at System.Configuration.RuntimeConfigurationRecord.CallHostDecryptSection(String encryptedXml, ProtectedConfigurationProvider protectionProvider, ProtectedConfigurationSection protectedConfig)
at System.Configuration.BaseConfigurationRecord.DecryptConfigSection(ConfigXmlReader reader, ProtectedConfigurationProvider protectionProvider)
--- End of inner exception stack trace ---
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at Dev2.Runtime.Security.HostSecureConfig..ctor()
Answer
Gandalf 9 years ago

Hi,


Thanks for the bug report. We currently investigating the cause of this bug.

0
Planned

Service does not exist

Anonymous 9 years ago in Studio updated by anonymous 9 years ago 1
Email Address : No Email Provided

Steps to follow : Added SQL Server to Start step... I'm running MS SQL 2016 Developer version

at Warewolf.Studio.ServerProxyLayer.QueryManagerProxy.FetchDbSources()
at Warewolf.Studio.ViewModels.ManageDbServiceModel.RetrieveSources()
at Dev2.Activities.Designers2.Core.Source.DatabaseSourceRegion..ctor(IDbServiceModel model, ModelItem modelItem, enSourceType type)
at Dev2.Activities.Designers2.SqlServerDatabase.SqlServerDatabaseDesignerViewModel.BuildRegions()
at Dev2.Activities.Designers2.SqlServerDatabase.SqlServerDatabaseDesignerViewModel.InitialiseViewModel(IManageDatabaseInputViewModel manageServiceInputViewModel)
at Dev2.Activities.Designers2.SqlServerDatabase.SqlServerDatabaseDesignerViewModel.SetupCommonProperties()
at Dev2.Activities.Designers2.SqlServerDatabase.SqlServerDatabaseDesignerViewModel..ctor(ModelItem modelItem)
at Dev2.Activities.Designers2.SqlServerDatabase.SqlServerDatabaseDesigner.CreateViewModel()
at Dev2.Activities.Designers2.Core.ActivityDesigner`1.OnLoaded()
at Dev2.Activities.Designers2.Core.ActivityDesigner`1.OnRoutedEventHandler(Object sender, RoutedEventArgs args)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Answer
anonymous 9 years ago

HI,


This will be resolved in an upcoming version. Thanks for the bug report.

0
Fixed

Object reference not set to an instance of an object.

Anonymous 9 years ago in Studio updated by Pieter 9 years ago 7
Email Address : tedwardc@gmail.com Steps to follow : No Steps Provided at Warewolf.Studio.ViewModels.EnvironmentViewModel.d__258.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Warewolf.Studio.ViewModels.EnvironmentViewModel.d__254.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Warewolf.Studio.ViewModels.ExplorerViewModelBase.d__50.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
0
Fixed

Object reference not set to an instance of an object.

Anonymous 9 years ago in Studio updated by Gandalf 8 years ago 2
Email Address : No Email Provided Steps to follow : No Steps Provided at Warewolf.Studio.ServerProxyLayer.UpdateProxy.SaveServerSource(IServerSource resource, Guid workspaceId) in C:\Development\Repos\Warewolf-ESB\Dev\Warewolf.Studio.ServerProxyLayer\UpdateProxy.cs:line 45 at Warewolf.Studio.AntiCorruptionLayer.StudioResourceUpdateManager.Save(IServerSource serverSource) in C:\Development\Repos\Warewolf-ESB\Dev\Warewolf.Studio.AntiCorruptionLayer\StudioResourceUpdateManager.cs:line 62 at Warewolf.Studio.ViewModels.ManageNewServerSourceModel.Save(IServerSource resource) in C:\Development\Repos\Warewolf-ESB\Dev\Warewolf.Studio.ViewModels\ManageNewServerSourceModel.cs:line 49 at Warewolf.Studio.ViewModels.ManageNewServerViewModel.Save(IServerSource source) in C:\Development\Repos\Warewolf-ESB\Dev\Warewolf.Studio.ViewModels\ManageNewServerViewModel.cs:line 294 at Warewolf.Studio.ViewModels.ManageNewServerViewModel.SaveConnection() in C:\Development\Repos\Warewolf-ESB\Dev\Warewolf.Studio.ViewModels\ManageNewServerViewModel.cs:line 285 at Warewolf.Studio.ViewModels.ManageNewServerViewModel.Save() in C:\Development\Repos\Warewolf-ESB\Dev\Warewolf.Studio.ViewModels\ManageNewServerViewModel.cs:line 298 at Dev2.ViewModels.SourceViewModel`1.DoDeactivate(Boolean showMessage) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Studio\ViewModels\SourceViewModel.cs:line 146 at Dev2.Studio.ViewModels.MainViewModel.<>c__DisplayClass50_0.b__2(Object o) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Studio\ViewModels\MainViewModel.cs:line 230 at Dev2.Security.AuthorizeCommand`1.Execute(Object parameter) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Studio.Core\Security\AuthorizeCommand.cs:line 98 at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)