Giter Club home page Giter Club logo

Comments (15)

zecanard avatar zecanard commented on August 25, 2024

I actually encountered the same issue recently: I wanted an automation that triggered on every activity, so I set Has location data? ‘Yes’ OR Has location data? ‘No’. The automation failed to trigger on two activities without location data. I chalked it off to my conditions being quirky, so I now use a different condition. But seems there is indeed a bug.

from core.

igoramadas avatar igoramadas commented on August 25, 2024

@ichibana can you send me your account ID please? I'll investigate.

from core.

igoramadas avatar igoramadas commented on August 25, 2024

strautomator/web@cabe57a

More details: the radioboxes to set the "samePropertyOp" is hidden from the UI when there are 2 conditions or less, as it was supposed to use the "op" in these cases instead, regardless if conditions are of the same type or not. But the value was still being pushed and saved on the recipe, even if you can't see it.

In both examples given above, you see OR on the UI but in reality the operator used was AND. Fixed now.

Will be live in production in a few hours.

from core.

ichibana avatar ichibana commented on August 25, 2024

from core.

igoramadas avatar igoramadas commented on August 25, 2024

Not needed, I asked in case you wanted to have it fixed manually before the deployment. But fix is ready in production now. You can simple edit the automation again, and it will automatically set the correct "samePropertyOp" flag.

from core.

ichibana avatar ichibana commented on August 25, 2024

from core.

ichibana avatar ichibana commented on August 25, 2024

from core.

igoramadas avatar igoramadas commented on August 25, 2024

Hi Kiran,

I see you update an automation recently, but it was the other one (not the Workout / Pilates), so that one still had the samePropertyOp set to AND. I've manually removed the flag from that automation for you now.

If you have any other issues, please let me know :-)

from core.

ichibana avatar ichibana commented on August 25, 2024

from core.

igoramadas avatar igoramadas commented on August 25, 2024

@ichibana I've followed you on Strava so I can see the activity details without having to impersonate your account via the API. Can you please let me know the workout activity ID that misfired the trainer automation?

from core.

ichibana avatar ichibana commented on August 25, 2024

from core.

igoramadas avatar igoramadas commented on August 25, 2024

That activity is returning "trainer = true".

Can you please open https://www.strava.com/activities/9117086090/edit and check if the "Indoor" tag is marked?

from core.

ichibana avatar ichibana commented on August 25, 2024

from core.

igoramadas avatar igoramadas commented on August 25, 2024

Strava doesn't make any distinctions, if it's indoor then it will have trainer = true.

On your case, you can add a second condition checking the sport type (Ride, VIrtual Ride etc). And of course, use AND as the logical operator.

from core.

ichibana avatar ichibana commented on August 25, 2024

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.