+1
Résolu

Using a find Index tool how can I find a character Index in different record set inputs

Anonyme il y a 10 ans dans Studio / Toolbox mis à jour par Gandalf il y a 10 ans 1
When I try find index of character 2 in all record set using find Index tool
In fields as [[rec(*).a]],
Index “All Occurrence”
Character 2
And I want to put my output values in [[rec(*).b]] 
Output is coming as [[rec(1).b]]=2, [[rec(2).b]]=4, [[rec(3).b]]=6, [[rec(4).b]]=8, [[rec(5).b]]=2, [[rec(6).b]]=4, [[rec(7).b]]=2,[[rec(8).b]]=4,[[rec(9).b]]=6,[[rec(10).b]]=8.
Now output is coming in record set but how would I know 2 is at index 2,4,6,8 in [[rec(1).a]] = h2f2f2f2 .
And 2 is at index 2 and 4 in [[rec(2).a]]=h2f2.
And 2 is at index 2,4,6,and 8 in [[rec(3).a]] = h2f2f2f2.


Solution
Gandalf il y a 10 ans
Great example and good question.

The For Each tool is designed for this. Try dropping the Find Index tool into the for each and put the result into [[rec(*).b]].
+1
Résolu

When "Delete Record" set doesn't have index what it is going to delete while debugging ??

Murali Naidu il y a 10 ans dans Studio / Toolbox mis à jour par Gandalf il y a 10 ans 0
Delete Record input doesn't have index.
but when I debug It is showing the message as success so here actually what is deleting by the Delete Record ??
At least when I debug it should show some message as record set doesn't exist.

Solution
Gandalf il y a 10 ans
Hi Murali

If the recordset is being used as an Input and does not have an index specified [[rec().set]], then it will use the last record.

If the recordset is being used as an Output and does not have an index specified [[rec().set]], then it will add a new record.

So in your example above, the last record in the recordset was deleted. The debug output should show you the record number.

There is a Warewolf Language Help button at the top of the studio:

It has more detail on how the language works.
0
Terminé

Email tool is always sending an email from "first email address" only, after change and test with "Second email address" while editing.

Murali Naidu il y a 10 ans dans Studio mis à jour par Gandalf il y a 10 ans 0
1.Create a Workflow
2.Bring email tool into workflow from Tool Box
3.Change the username (Email address one)
4.Enter Email password
5.Click on test connection (Connection is successfull)
6.save Email source
6.Run the workflow
Result - Observe Email is sending from (Email address one) which is correct
And next
1.Click on edit email source
2.Change the username (Email address two)
3.Enter the password
5.Click on test connection (Connection successfull)
6.Save the Email source
7.Run the work flow
Result - Observe Email is still sending from (Email address one) which is incorrect
Solution
Gandalf il y a 10 ans
Thanks, this should be fixed, plus we did the large view for the tool with a whole lot more functionality. Check out the latest version.
0
Corrigé

"Expand All" button on the work space is not functioning properly when I have two or more tabs

Murali Naidu il y a 10 ans dans Studio mis à jour par Gandalf il y a 9 ans 2
1.Open new workflow
2.Open a service from explorer and click on expand all (It wil expand)
3.Open another workflow without closing first workflow
4.From tabs go back to previous workflow
5.Click on "Expand all" (It will not work)
Solution
Gandalf il y a 9 ans
Thanks Murali.

How do you find all this stuff!

We will look into it down the line.
0
Corrigé

Web service request methods and source are forgotten on edit

anonymous il y a 10 ans dans Studio / Services mis à jour par Gandalf il y a 10 ans 0
I created a web source to my local couchdb install ( http://localhost:5984 ). This went fine.
I then tried to create a web service with this source using the PUT method.
I saved the web service and every time I edit it the Method reverts to GET and I need to re-select the source.
Solution
Gandalf il y a 10 ans
This bug has been busted. Please download the latest version for the fix.
0
Écarté

Hash-based Message Authentication Code Tool

anonymous il y a 10 ans dans Studio / Toolbox mis à jour par anonymous il y a 10 ans 0
It would be awesome if there was a tool to encrypt and decrypt data with HMAC like what is done in C# here http://msdn.microsoft.com/en-us/library/system.security.cryptography.hmacsha512(v=vs.110).aspx

I would like this because certain RESTful web services I need to consume in Warewolf require their payload to be signed this way and currently is not possible without writing a custom plugin. Which I then need to manage on the file system of my server... Not keen to go this route.
tool
Solution
anonymous il y a 10 ans
Unfortunately this tool is too specific for us to undertake at this time.
0
Corrigé

Creating Web Source Causes Explorer To Disconnect

anonymous il y a 10 ans dans Studio mis à jour par Gandalf il y a 10 ans 1
I tried creating a second web service against http://pubapi.cryptsy.com/api.php?method=singlemarketdata&marketid=135 A less verbose version of the service I posted about earlier. This time the explorer will disconnect twice. With the second time indicating that the server has crashed. I needed to manually restart the server service.
Solution
Gandalf il y a 10 ans
Fixed- thanks. Please try the latest version.
0
Corrigé

Dependency On VC++ 2008

anonymous il y a 10 ans dans Studio mis à jour par anonymous il y a 10 ans 0
I tried installing Warewolf on a new VPS running Win Server 2k8r2. It failed to start. I had a look at the event viewer and found that there is a VC++ 2008 x86 requirment your installer does not detect. It picked up the .NET 4.5 requirement fine.
Solution
anonymous il y a 10 ans
Thanks. We will amend the next installer to account for this.
0
Corrigé

Web Service Large Payload Size

anonymous il y a 10 ans dans Studio / Services mis à jour par anonymous il y a 10 ans 0
I tried creating a web service to pull JSON data from http://pubapi.cryptsy.com/api.php?method=marketdat...

I set-up and configured a source and I was able to view the results in the browser.

Yet when I tried to create a web service with the source to define the input and output mapping the request took more then two minutes to execute. I cancelled it after this point. 

I then tried using the copy and paste result feature to configure the service using the browser output from hitting the service. It pasted fine, yet once again after a few minutes of waiting I cancelled the service creation. It had not finished!

It would be great if large JSON payloads would parse quickly.
Solution
anonymous il y a 10 ans
It appears to be an issue with path extraction from the payload. The service executed fine. Yet when we tried to extract paths from the JSON data to map into Warewolf the server took very long to process. 

We are busy putting a fix so you can use JSONPath ( like XPath for JSON ) to pre-process your data payload. This means the path generation will require fewer operations on a data set like your.
0
Écarté

Refactor option

GianPiero il y a 11 ans dans Studio / Designer mis à jour par Gandalf il y a 11 ans 0

Hey guys, would it be possible to add a Refactor option, so that should a Proc change and be deployed to live server, that we could easily update the various usages of that proc on all the workflows in which it is used?  I realise that some workflows may need to be changed when a proc changes, but it could be that the revised proc just returns an additional field which is only used by one workflow, which means that it wouldn't effect the rest of the workflows, as this additional field would be ignored within all the other workflows using the proc?

Solution
Gandalf il y a 11 ans

As it stands, changing the underlying proc will only affect services that change accordingly. If you add a field to the proc, you only need to change the instance that needs that change, the others will simply ignore it by default. However, they will all show in a warning state so that you know which ones are not completely up to date. If this is not what you mean, please let us know.