0
Ukończony

Just a Message if we try to drop decision or switch in sequence tool.

Anonim 11 lat temu w Studio / Toolbox Ostatnio zmodyfikowane przez Gandalf 9 lat temu 3
Hi There

Sequence tool is very useful while developing a large workflow and now my workflow looks very simple. 
I would really like to appreciate the idea of developing a sequence tool.
But when I try to drag and drop a workflow with decision or switch, it wasn't allow me to drop.
then I tried many times and concluded, this is not working properly, but anyhow I realized later that sequence doesn't allow decision and switch. 
So if we have a validation message when user try dragging a decision or switch tool inside the sequence it could be very nice.

Thanks


0
Ukończony

fire and forget

Paul Cannell 11 lat temu w Server / Execution Ostatnio zmodyfikowane przez Gandalf 11 lat temu 1
When performing a longer running activity such as file processing id like to fire off the workflow. Have it return to me as the called immediately. Then internally it can email me / whoever when its complete. At the moment the call to the workflow is blocking.
0
Z odpowiedzią

Cannot Start Server Service in installtion

Anonim 11 lat temu w Installer Ostatnio zmodyfikowane przez Gandalf 10 lat temu 0
Hello, I am having problem with the the installation. I get the message "Cannot Start Server Service" and the option to Try again. Is there something I can do in my computer settings to fix this?

http://tinypic.com/view.php?pic=15hd086&s=8#.UzUhbfmSzg8 
server installer
Odpowiedź
Gandalf 10 lat temu
Make sure you are running the installer from the machine that Warewolf is being installed onto. Installing over the network will cause this problem.

If that is not the case, try manually starting it in Windows Task Manager > Services > Warewolf Server

Still having problems, then please log a bug and attache the following:

  • C:\Program Files (x86)\Warewolf\Server\wareWolf-Server.log
  • C:\Program Files (x86)\Warewolf\Server\Warewolf Server.InstallLog 
  • C:\%localappdata%\Warewolf\Warewolf_Install.log


0
Ukończony

singleton vs single call

Paul Cannell 11 lat temu w Server / Execution Ostatnio zmodyfikowane przez Gandalf 11 lat temu 0
If you think back to .net remoting you'll prob need to read no further but in case you missed that "fun" time read on.

I have a recordset with X rows.
I need to perform some validation for each one to decide whether to exclude this record at this point (carrying on would result in failure)

Hypothetical 
in my recordset is a return code. I then need to decide based on this code whether to proceed. lets assume of all 10 return codes 3 will allow the process to continue the other 7 are considered failure. 
I create my service that takes in a code and then gets a list of statuscodes and the resulting action. 
I then call this service for each entry in my recordset. If that services has to goto the DB each time its going to be a perfomant dog. If however it were to cache the results (as we do in code all the time - think lookup date bank names, branch codes, post codes etc) it would make performance much better
So what Im asking for is a services that is created but doesnt get collected once its been used. Singleton vs SingleCall
If this exists plz point me in the correct direction
Odpowiedź
Gandalf 11 lat temu
Hi Paul

Excellent question. 

You are correct, performance would be a dog. The best design to handle this is to create your validation workflow to accept recordsets Inputs and return recordset Outputs (rather than scalars and then putting it inside a for each).

In this way you can map the entire recordset with next to no overhead into the validation workflow, do one db call and then handle the iteration between records inside that workflow.

0
Odrzucone

foreach

Paul Cannell 11 lat temu w Studio Ostatnio zmodyfikowane przez Gandalf 9 lat temu 4
When using foreach Id like to know the "count" that Im on.
I have 1000 records in my set and after say 100 id like todo something. Id need to know how many iterations the foreaach has gone over.
So like [[=currentCount]] or some such idea would be useful.

Secondly id like to be able to perform complex activities here. If I want to make a DB call after each 100 records re processed id need a decision and then a DB service. I recognise that I could make a seperate workflow for this it just seems lots of effort for a simple thing. 
0
Ukończony

data transform and validation

Paul Cannell 11 lat temu Ostatnio zmodyfikowane przez Gandalf 10 lat temu 2
I have a file from a payment processor with my debit responses.
There are 13k (6mn text file) lines in this file.
From time to time I get files that have bogus lines (blank lines you already cater for)
but lines that are badly formatted
Example (muchly simplieifed
File structure is as follows
first 13 chars ID NO
second 10 Surname
third 4 some response code

so example GOOD file would look as follows

9999999999999MYSURNAME 0010
8888888888888BlaName         0010
7777777777777  Name            0010

using the transform I can get this into a recordset really easily. I can the foreach over it or whatever. Happy days.
However then you get this
9999999999999MYSURNAME 0010
Crap Data
8888888888888BlaName 0010
7777777777777 Name 0010
 
Now the transform tool does its best but when it gets to the 2nd row it sticks "Crap Data" into the rs().IDNo and then rs().Surname is "888888888B" 
I want to tell the transform to make its best effort up until it finds (in my case) a line feed. Perhaps some companies would use a char to denote end of line. 
If I can do this I can then take my 13k entries and I can filter out the BAD ones and do something with say the 3 lines that are invalid.

PS Id really like to email the bad ones to somebody :)

Is there any way to attempt to solve my current use case? Fixed delimited files are common when dealing with financial institutions and tho bulk insert in sql may be faster id rather take a bit longer and have the ability to handle error cases (try finding a prob in a 13k lines file when using bulk insert :)

- P

0
Z odpowiedzią

keywords

Paul Cannell 11 lat temu w Studio / Variables Ostatnio zmodyfikowane przez Gandalf 11 lat temu 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
Odpowiedź
Gandalf 11 lat temu
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
Z odpowiedzią

You are not authorized to connect to this server

Anonim 11 lat temu w Studio / Explorer Ostatnio zmodyfikowane przez anonymous 11 lat temu 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
Odpowiedź
anonymous 11 lat temu
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
Z odpowiedzią

Installation of .NET Framework 4.5 failed with exit code 1307

anonymous 11 lat temu w Installer Ostatnio zmodyfikowane przez anonymous 6 lat temu 1
If you get this error it means you are a non-admin user who was not prompted to enter admin credentials when running the installer.
This can happen if your User Account Control (UAC) settings are set to Never notify.

Image 32
Figure 1 : UAC off in Control Panel

To change your UAC level first open your control panel from the start menu.
Then search for uac and click on Change User Account Control settings. 
You will need to be an administrator to do this.
Image 33
Figure 2 : Control Panel with UAC search

Then change your UAC settings back to Default as seen below.
Click OK and close the Control Panel window.
Try installing again.
Image 34
Figure 3 : Restore Default UAC
 
installer
0
Z odpowiedzią

How to create a plugin service???

Anonim 11 lat temu w Studio / Services Ostatnio zmodyfikowane przez anonymous 11 lat temu 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



Odpowiedź
anonymous 11 lat temu
It is not possible to access WinForms objects from Warewolf.
Plugins are met for POCOs.