The main idea of the rule is to modify the Team Assignment. This is an entity that is created when you assign Team to Entity. It has its own EntityState attribute which is also called "Team State". More details:
In order to change Team State, you need to send a POST query to the TeamAssignment endpoint. You need to define Team Assignment ID and Entity State ID.
After you apply the rule from the example update the first and second line in the code with the corresponding values for Team Name and Team State Name
Updated 2 months ago
See how to apply the raw JSON on the page below