Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • PlayStream /
avatar image
Question by jeff-1 · Mar 02, 2018 at 03:52 PM · Title DataPlayStream

Can a TitleEvent trigger a Rule Action?

I want to update some title-wide data from an external server. I'm trying to do this as a PlayStream event (using WriteTitleEvent) and with an associated Rule, but the Rule isn't firing. Is this supported?

(I could use SetTitleInternalData instead, but I'm concerned with data races and I'd prefer to notify PlayFab and do the actual title data write in CloudScript)

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by pfnathan · Mar 02, 2018 at 06:46 PM

Can you let us know your TitleId, please? we would like to view and replicate your issue.

Comment
jeff-1

People who like this

1 Show 13 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jeff-1 · Mar 02, 2018 at 08:01 PM 0
Share

Our TitleId is EC18. The event I'm adding is called "live_event_updated".

avatar image pfnathan ♦ jeff-1 · Mar 02, 2018 at 10:24 PM 1
Share

Can you run your script on Postman to see if you can replicate there and share your result please, it seems that CloudScript triggers on our end if the issue persists you would need to fix your CloudScript, meantime, we will run few more tests as well.

avatar image jeff-1 pfnathan ♦ · Mar 02, 2018 at 11:29 PM 0
Share

The script is just a stub (for now). My problem is that I can't tell if it's running or not when the PlayStream event happens.

Are TitleEvents allowed to trigger Rules?

Show more comments
Show more comments
avatar image Brendan ♦♦ · Mar 03, 2018 at 02:34 AM 1
Share
@jeff-1

Can we take a step back to discuss what it is you're trying to do, exactly? The statement that you're concerned abut data races makes it look like you're attempting to update Title Data frequently, which is not supported.

avatar image jeff-1 Brendan ♦♦ · Mar 05, 2018 at 05:27 PM 0
Share

Data race was the wrong term to use.

We plan to have a small group of people using a tool which can modify the title data, and I want to rule out conflicts due to simultaneous updates as much as possible.

avatar image Brendan ♦♦ jeff-1 · Mar 06, 2018 at 04:39 AM 1
Share

If it's a small number of people, the odds against that should be pretty high, since they would literally have to be updating the exact same key/value pair at the exact same time. But one thing to be aware of is that we're finalizing a new data system that we'll be releasing around GDC time, which is designed for multiple users updating it. To be clear, it'll return a "busy" error if you try to update the KVP while someone else's update is in progress, but that would then let you use that specific response to do a backoff-and-retry.

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    3 People are following this question.

    avatar image avatar image avatar image

    Related Questions

    Aggregate custom events into a Histogram from Cloud Script (or anything that runs e.g daily) 1 Answer

    cant trigger rule with "character_virtual_currency_balance_changed"! 2 Answers

    Problem with real money purchase event 1 Answer

    Playstream additional description 1 Answer

    How to convert Country code to string value 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges