0
Résolu

How do I substring?

anonymous il y a 11 ans dans Studio / Toolbox mis à jour par Gandalf il y a 10 ans 5
I have a data payload that I need to perform sub-strings on.
I can get the starting and ending indexes, but have no idea how to use these to create a sub-string.
I have checked the calculate functions and tried using the DataSplit tool.
The best I have managed to do is use the DataSplit tool to get everything after the start index, but I cannot seem to get it to stop at the end index without using a second DataSplit tool.
Its frustrating to use 4 tools to perform such a simple function. ( 2 Find Index and 2 DataSplit tools )
I will not create a workflow to do this as I need to use First and Last index in the Find Index tool depending on which string I am searching for. 

Can you please advise how I can do with with 3 or less tools. I understand the need to use 2 Find Index tools. I would like to know how to use a single tool to sub-string?

0
Pas un bug

Web Request tool always times out

anonymous il y a 11 ans dans Studio / Toolbox mis à jour par Gandalf il y a 11 ans 2
I am trying to use Warewolf to fetch a web page's contents. The URL is : http://www.coinwarz.com/cryptocurrency/
Everytime I try and debug I keep getting the following error : The request was aborted. The operation has timed out.
Yet when I use wget to fetch the same URL it fetches and saves to disk in 0.3 - 0.4 seconds.
I believe you have a bug in your Web Request tool such that it never properly executes the fetch request.

I really would like this fixed so I can use it to process data, else I need to write bash scripts since wget will fetch without timing out.
0
Terminé

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

Anonyme il y a 11 ans dans Studio / Toolbox mis à jour par Gandalf il y a 9 ans 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
Écarté

foreach

Paul Cannell il y a 11 ans dans Studio mis à jour par Gandalf il y a 9 ans 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
Résolu

keywords

Paul Cannell il y a 11 ans dans Studio / Variables mis à jour par Gandalf il y a 11 ans 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
Solution
Gandalf il y a 11 ans
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
Résolu

You are not authorized to connect to this server

Anonyme il y a 11 ans dans Studio / Explorer mis à jour par anonymous il y a 11 ans 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
Solution
anonymous il y a 11 ans
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
Résolu

How to create a plugin service???

Anonyme il y a 11 ans dans Studio / Services mis à jour par anonymous il y a 11 ans 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



Solution
anonymous il y a 11 ans
It is not possible to access WinForms objects from Warewolf.
Plugins are met for POCOs.
0
Terminé

dbl clickig an itme should bring up the properties dialog

Paul Cannell il y a 11 ans dans Studio / Designer mis à jour par Gandalf il y a 10 ans 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
Solution
Gandalf il y a 10 ans
Nice idea Paul. We will give it some thought.
0
Terminé

unintuative. Couldnt make workflow variables inputs

Paul Cannell il y a 11 ans dans Studio / Designer mis à jour par Gandalf il y a 10 ans 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 
Solution
Gandalf il y a 10 ans
We agree. There is a quite a bit that needs to be done to the variable list.

Thanks for the idea.
0
Corrigé

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

Paul Cannell il y a 11 ans dans Studio / Services mis à jour par anonymous il y a 11 ans 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.
Solution
anonymous il y a 11 ans
We have fixed this in the latest release 0.4.4.4