0
Beantwortet

keywords

Paul Cannell vor 11 Jahren in Studio / Variables aktualisiert von Gandalf vor 11 Jahren 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
Antwort
Gandalf vor 11 Jahren
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
Beantwortet

You are not authorized to connect to this server

Anonym vor 11 Jahren in Studio / Explorer aktualisiert von anonymous vor 11 Jahren 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
Antwort
anonymous vor 11 Jahren
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
Beantwortet

How to create a plugin service???

Anonym vor 11 Jahren in Studio / Services aktualisiert von anonymous vor 11 Jahren 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



Antwort
anonymous vor 11 Jahren
It is not possible to access WinForms objects from Warewolf.
Plugins are met for POCOs.
0
Fertiggestellt

dbl clickig an itme should bring up the properties dialog

Paul Cannell vor 11 Jahren in Studio / Designer aktualisiert von Gandalf vor 10 Jahren 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
Antwort
Gandalf vor 10 Jahren
Nice idea Paul. We will give it some thought.
0
Fertiggestellt

unintuative. Couldnt make workflow variables inputs

Paul Cannell vor 11 Jahren in Studio / Designer aktualisiert von Gandalf vor 10 Jahren 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 
Antwort
Gandalf vor 10 Jahren
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 vor 11 Jahren in Studio / Services aktualisiert von anonymous vor 11 Jahren 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.
Antwort
anonymous vor 11 Jahren
We have fixed this in the latest release 0.4.4.4
0
Fertiggestellt

Unload external dlls from the designer

Paul Cannell vor 11 Jahren in Studio / Designer aktualisiert von Gandalf vor 10 Jahren 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 :)
Antwort
Gandalf vor 10 Jahren
Thanks Paul. We are looking into both your issues.
0
Fertiggestellt

decision trees getting cluttered

Paul Cannell vor 11 Jahren in Studio / Designer aktualisiert von Gandalf vor 9 Jahren 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
Antwort
Gandalf vor 9 Jahren
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
Fertiggestellt

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

Paul Cannell vor 11 Jahren in Studio / Designer aktualisiert von Gandalf vor 11 Jahren 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
Antwort
Gandalf vor 11 Jahren
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
Beantwortet

Can you version workflows?

Anonym vor 11 Jahren in Studio aktualisiert von Gandalf vor 11 Jahren 0
Antwort
Gandalf vor 11 Jahren
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.