The rule is executed when a player purchases an item and my Cloud Script function is executed. But I don't get the value of Tags in my Cloud Script.
The catalog item's Tags:
The rule:
My Cloud Script function:
handlers.AddTicketPlayerTag = function (args, context) { var itemtag = context.playStreamEvent.Tags; log.info("tags :" + itemtag);
PlayStream:
"Logs": [ { "Message": "tags :undefined", "Level": "Info" }
itemtag is always "undefined". What is wrong with my Cloud Script function?
Is it possible to get a catalog item's Tags in Cloud Script