Reputation: 5860
I notice that for some reason when I open up my Worker here TaskRouter / Flex Task Assignment / Workers / that my attributes have changed. Specifically, the Roles collection is changed as shown below (red being values BEFORE system changes them, Green being values AFTER system changes them)
What logically could be changing these values? Its really bad because I have configured TaskRouter tasks based on this value. And when the values are changed, the tasks no longer get routed at all!
Is there anything that automatically updates these values? Spefically the Roles property? I cant imagine why the system would feel its ok to do this since task routing may depend on this specific property.
Upvotes: 0
Views: 315
Reputation: 73027
Twilio developer evangelist here.
The roles property is a special property within Flex that is set by your identity provider. It is required for permissions around Flex (agent, supervisor, admin are 3 roles I know of in particular). You can read up about properties on your workers and how attributes map to them from the identity provider here.
For custom properties like this, I would recommend you prefix your attributes with a common namespace so that Flex/your identity provider won't clash with them.
Let me know if that helps at all.
Upvotes: 0