0
Answered

keywords

Paul Cannell 11 aastat tagasi Studio / Variables uuendaja Gandalf 11 aastat tagasi 0
most languages have keywords / built in functions.
getdate() for SQL or DateTime.Now for c#
How can I get the current time when processing an activity/decision/etc
Also Im sure there are other common things Im going to want todo. Be great to have this somewhere
Vasta
Gandalf 11 aastat tagasi
Hi Paul

Warewolf is a Flow based language. Think about a typical coded function being a workflow and each service or tool in that workflow being a line or action.

So, if you are after the time, we need to execute a tool to get the time into a variable and then use it.

There are a few ways to get the current system time:
1. The calculate tool has all the MS Excel funcitons so you can just tupe: now() and then put that result into a variable.
2. The Assign tool can act like a Calculate tool if you start the assign value with an = so you can just type: =now()
3. The Gather System Information Tool has a Date & Time option
4. Date and Time Tool: If you leave the Input blank and the Input format blank, by default the tool will return the current system time in the system format.

I hope I have answered your question.
0
Answered

You are not authorized to connect to this server

Anonüümne 11 aastat tagasi Studio / Explorer uuendaja anonymous 11 aastat tagasi 0
Hello,
Just installed çwarewolf. I see in the Explorer pane two lines:
localhost (http://localhost:3142/dsf
You are not authorized to connect to this server

The button to create a new workflow is greyed and I can't click it

Can anybody help me?

Cheers

Francisco
Vasta
anonymous 11 aastat tagasi
Hi Francisco,

You need to be part of the Administrators group to access the server.
Try adding yourself to it and starting the Studio again. 

Cheers

0
Answered

How to create a plugin service???

Anonüümne 11 aastat tagasi Studio / Services uuendaja anonymous 11 aastat tagasi 0
Hi There

I have created a sample windows form in DOT net and now I want to use that service into Warewolf workflow as a plugin.
I hope it is possible by using Warewolf. Can you please provide steps to do this.

Thanks



Vasta
anonymous 11 aastat tagasi
It is not possible to access WinForms objects from Warewolf.
Plugins are met for POCOs.
0
Lõpetatud

dbl clickig an itme should bring up the properties dialog

Paul Cannell 11 aastat tagasi Studio / Designer uuendaja Gandalf 10 aastat tagasi 2
Rather than have to click on the settings box for a service, can we not simply dble click like you can on a decision
Vasta
Gandalf 10 aastat tagasi
Nice idea Paul. We will give it some thought.
0
Lõpetatud

unintuative. Couldnt make workflow variables inputs

Paul Cannell 11 aastat tagasi Studio / Designer uuendaja Gandalf 10 aastat tagasi 2
Until I used it in the workflow. This does makes sense but typically I would design the interface to my workflow and then implement bit by bit. I may only need the 3rd input param later on and Im still testing the first bits. But I cant pass this until later.
think of it this way. When you define an interface method you dont make them parameterless you generally know what you want to achieve. Perhaps a hint popup to let us know 
Vasta
Gandalf 10 aastat tagasi
We agree. There is a quite a bit that needs to be done to the variable list.

Thanks for the idea.
0
Fixed

sp_helpText 'myProc' returns a sql error, I then cant reference ANY procs

Paul Cannell 11 aastat tagasi Studio / Services uuendaja anonymous 11 aastat tagasi 0
if sp_helptext 'my proc' fails in sql then you cant select an action on the "new database service" tab. Running profiler I see that you are doing this for each of my procs. If one fails Im stuck
perhaps eating the bad ones and listing them as "problematic" at the end would be a good idea so I can carry on working on the other procs.

This error comes up in warewold designer AND sql management studio so its a sql error not an app error but the app handles it in a less than ideal manner.

Error : The database name component of the object qualifier must be the name of the current database.
Vasta
anonymous 11 aastat tagasi
We have fixed this in the latest release 0.4.4.4
0
Lõpetatud

Unload external dlls from the designer

Paul Cannell 11 aastat tagasi Studio / Designer uuendaja Gandalf 10 aastat tagasi 2
I create a class library. I firstly discover that you cant return .Net basic types (string, int, bool etc) once I returned a class things were fine. Perhaps this needs to be in a hint :)
However in discovering this I rebuilt my dll a number of times. I couldnt copy it to the place I had referenced because warewolf has a handle to that DLL. Im assuming you host components like this in a separate appDomain so if you give me the ability to recycle that so I can do a build / deploy cycle without me having to shutdown warewolf would be great. If you can already do this and I just havnt figured out how, ... well then shame on me :)
Vasta
Gandalf 10 aastat tagasi
Thanks Paul. We are looking into both your issues.
0
Lõpetatud

decision trees getting cluttered

Paul Cannell 11 aastat tagasi Studio / Designer uuendaja Gandalf 9 aastat tagasi 4
Assume a simple credit matrix. Based on your income you will get 1 of 3 interest rates.
Income > 10000 goes to the 1st outcome, >8000 the 2nd and > 5000 the third.
In the current version you have to make a tree looking like the left pic in the diagram.
If you attached priorities to a decision you could make it look like the second diagram. Say your income is 9000, you will fail the first check but pass both 2 and 3, however if you have a priority you would pass the income > 8000 check and stop evaluation at that point. Maybe a useful idea? Things like risk pricing models would benefit greatly from this and the designer space would look far less cluttered
Vasta
Gandalf 9 aastat tagasi
Without the pictures mentioned I am left to guess.

My guess is you are talking about bundling up individual decisions into a single decision tree activity that would act like a switch.

Is this correct?

0
Lõpetatud

Decisions should have a heading. Just showing the first condition is less than ideal.

Paul Cannell 11 aastat tagasi Studio / Designer uuendaja Gandalf 11 aastat tagasi 0
If I have  vars, A and B (type bool) I have something like 
if A==1
AND IF B==0
the decision reads "If A==1" in the designer canvas which is acttual misleading
Vasta
Gandalf 11 aastat tagasi
Thanks Paul. The WWF designer limits the space that can be used there. We felt it was better to put in what you can rather than nothing at all as a default.

We also added the ability for you to put the text there that you want (check the bottom of the decision) so you can overide the default.
0
Answered

Can you version workflows?

Anonüümne 11 aastat tagasi Studio uuendaja Gandalf 11 aastat tagasi 0
Vasta
Gandalf 11 aastat tagasi
Currently (Beta) Workflows are version-ed automaticaly and stored for later use. The retrieval process is manual but we are working on an interface to make it simple.