question

jnicholls avatar image
jnicholls asked

Removing multiple tags at once

Hello

I was wondering if it was possible to remove or set multiple player tags at once since in the worst case scenario for the function I am writing, the amount of calls goes over the limit for a cloud script function.

Player 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.

1 Answer

·
brendan avatar image
brendan answered

Since player tags are part of the profile, and can kick off re-evaluation of user segmentation, actions, etc., the call to add/remove them only does one at a time at the moment. Can you describe the usage case that requires you to remove multiple tags at once? What are you using tags to represent on the player?

2 comments
10 |1200

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

jnicholls avatar image jnicholls commented ·

The use case would be if multiple tasks fail but they add a tag to all the users of the segments. The users would have two tags when the third task runs. The tags would represent the amount of days the user has not logged into the game.

0 Likes 0 ·
brendan avatar image brendan jnicholls commented ·

But there's already a segment filter for that (last login time). A tag to represent the same thing isn't really necessary.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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