Hi Everyone,
I have created a stream thing and I have a service in another thing which writes a line at the stream thing. I would like to write just one line per day, when the service triggers, but I do not know why after the first trigger it writes one new line every minute. What am I doing wrong?
Thanks,
Felipe Duarte
Solved! Go to Solution.
Hi Zyuan and All,
I could find the problem. There is no no sense lines, the unique no sense here is me. :)
I wrote at the same service to parse the csv file to Infotable and to write a new line at the Stream Thing.
Since I am using the infotable on a different widget, it is triggering the service everytime.
I will just write a separated service to add the line to Stream Thing and it will solve the problem.
Thanks for your help.
Hi,what are you using to trigger the addstream service you created?
You mentioned you just want to run the service one time per day, are you planning to do it manually or trigger the service through subscription listening to a Scheduler/Timer event?
Hi,
I am not sure what you mean by addstream service.
I already have a scheduler thing which triggers other services but I did not insert the service which writes a line in the stream thing. I have just tested the service and it works, create one line at the stream thing and after that It got crazy writing lots of lines.
Thanks for the reply.
Hi,
I found what is causing the adding lines, but still do not understand. Since I am developing the mashup yet, everytime I reload it a new line is written on the stream thing. At the mashup I am using the service "GetStreamEntriesWithData" from stream thing which is loaded when mashup loads. This service I am using to display a chart.
Any idea about my problem?
Hi Zyuan and All,
I could find the problem. There is no no sense lines, the unique no sense here is me. :)
I wrote at the same service to parse the csv file to Infotable and to write a new line at the Stream Thing.
Since I am using the infotable on a different widget, it is triggering the service everytime.
I will just write a separated service to add the line to Stream Thing and it will solve the problem.
Thanks for your help.
That's cool, when you met similar problems, always check what is triggering the function, that will direct to most solutions.