Idea

Attilio Carotenuto avatar image
Attilio Carotenuto suggested

Define Automation Rules programmatically

We're currently using Playfab rules to react to player logging in, player created, title data changes and other similar events and trigger an azure function.


While we find these very useful, I could not find a way to define these rules in code and upload them to Playfab.

Defining them in the dashboard is error-prone, prevent us from having a history of rules and version control support, to rollback changes, and makes it hard to upload the same ruleset to all environments, as we currently have multiple Playfab titles (dev/staging/live etc) for the same product.

A set of APIs in the admin API that would let us upload, edit, remove and list rules for a specific title would be very appreciated and would make our workflow more robust and reliable.

Thanks!

apisCloudScriptTitle Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Comments

·
nwhitmont avatar image
nwhitmont commented

It would also be useful to have the ability to import/export Automation Rule definitions as JSON to facilitate copying rules between Titles (different environments)

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

onur-1 avatar image
onur-1 commented

It would indeed be very useful to have the ability to import/export Rules as JSON

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write a Comment

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.