Author Topic: Write to file inheriting Set User Variable "scope"?  (Read 501 times)

Tags:
  • All members
  • Posts: 154
  • Gender: Male
Hi,

I have a trigger with 2 Set user variable actions and a write to file action.
The Set User Variable actions have " Individually per selection" as the scope.
The Write to file action which doesn't have a scope, is writing the text I have specified for every selection!
I was expecting just one line of text per market, but I am getting it repeated for the number of selections in the market!

Easy to fix (I hope) by moving the Write to File to its own trigger.  But I am surprised by what it is doing when the trigger Execute is set to Once per market for the trigger!

regards

Wez 

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: Write to file inheriting Set User Variable "scope"?
« Reply #1 on: 27 Apr 2022, 10:02 »
Wez,

I suppose you set to fire the "Write to file" trigger for "All matching selections", right?
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 154
  • Gender: Male
Re: Write to file inheriting Set User Variable "scope"?
« Reply #2 on: 27 Apr 2022, 10:25 »
Hi Tim,

yep, that'll be the fault with my trigger!

I have changed it to favourite and as you suspected, that has fixed the problem :)

Many thanks

Wez

 

Please note, BetFair is seems to be currently OFFLINE