Playlyfe Migration Issues

After you've designed and deployed your game, there are times when you'd want to change the design. Maybe the name of one of your badges is misspelt, or maybe your team roles are jumbled up, or you want to rework your process design.

Playlyfe houses a bunch of resolver bots, who work in the background and resolve all these design changes quite well. But there are dark times when you make changes which confuse our dear bots. In those times of trouble, we ask you to step up to the monumental task of deciding what to do with those changes. When you simulate (or launch) your game after making some breaking changes, we pause the deployment and throw out a bunch of Issues which you have to manually resolve before going ahead with the deployment.

What follows is a list of issues which our Platform produces, and the possible fixes for each issue.

Metrics

Delete a Metric Design

METRIC_REMOVED

An existing metric is deleted.

Fixes
CodeDescription
METRIC_DESTROYRemove the deleted metric from scores of all players in the game.

Decrease a Point Metric's Maximum Value

METRIC_POINT_MAX_LIMIT_EXCEEDED

When the maximum value of a point metric has been reduced.

Fixes
CodeDescription
METRIC_POINT_MAX_LIMIT_SETIf the player's score value of the metric has exceeded the new maximum limit, it will be reduced to the new maximum.

Increase a Point Metric's Minimum Value

METRIC_POINT_MIN_LIMIT_EXCEEDED

When the minimum value of a point metric has been increased.

Fixes
CodeDescription
METRIC_POINT_MIN_LIMIT_SETIf a player has a score below the new minimum, their score will be changed to it.

Decrease a Set Metric Item's Max Limit

METRIC_SET_ITEM_MAX_LIMIT_EXCEEDED

If the maximum item count for an item in a set metric has been reduced.

Fixes
CodeDescription
METRIC_SET_ITEM_MAX_LIMIT_SETIf a player has exceeded the new item limit, the player's item count is set to the limit.

Remove an Item from a Set Metric

METRIC_SET_ITEM_REMOVED

Remove an Item from a set metric.

Fixes
CodeDescription
METRIC_SET_ITEM_REMOVEIf a player has the set metric item, remove it.
METRIC_SET_ITEM_REPLACEIf a player has the set metric item, replace it with another item.

Remove a State from a State Metric

METRIC_STATE_STATE_REMOVED

If a state in a state metric is removed.

Fixes
CodeDescription
METRIC_STATE_STATE_REMOVEIf a player has the state, remove the state.
METRIC_STATE_STATE_REPLACEIf a player has the state, replace it with another state.

Processes

Delete a Process Design

PROCESS_REMOVED

When a process design is removed.

Fixes
CodeDescription
PROCESS_DESTROYDestroy all instances of this process design.

Remove a Process Access Setting

PROCESS_ACCESS_SETTING_REMOVED

If an access setting has been removed.

Fixes
CodeDescription
PROCESS_ACCESS_SETTING_REPLACEIf a process instance has the deleted setting, it will be replaced by the next most secure setting.

Remove a Lane from a Process

PROCESS_LANE_REMOVED

Remove a lane from a process.

Fixes
CodeDescription
PROCESS_LANE_REPLACEAll performers in the deleted lane will now be moved to another lane.

Change the Structure of a Process

PROCESS_STRUCTURE_CHANGED

Change the structure of a process. Options are to either delete all existing instance of the design or change their state to cancelled.

Fixes
CodeDescription
PROCESS_CANCELChange the state of the instance to cancelled.
PROCESS_DESTROYDelete the process instance.

Teams

Delete a Team Design

TEAM_REMOVED

When a team design is removed.

Fixes
CodeDescription
TEAM_DESTROYDisband all instance of teams of that design.

Remove a Role in a Team

TEAM_ROLE_REMOVED

Remove a role in a team.

Fixes
CodeDescription
TEAM_ROLE_REPLACEReplace the role of player with a different one.

Remove an Access Setting from a Team

TEAM_ACCESS_SETTING_REMOVED

Remove an access setting from a team design.

Fixes
CodeDescription
TEAM_ACCESS_SETTING_REPLACEAccess setting of instance with the removed access setting will be changed to the next most strict setting.