movePhase( )

Deprecated. This function is being discontinued in the upcoming months. We are working to provide alternatives, and we'll provide timely updates before implementing any changes. We understand that this transition might present challenges, and we appreciate your patience and understanding.

Moves a phase to a new position with a workflow.

The movePhase() function returns a Promise when the specified phase has been moved to the new position.

Use the options parameter to specify the new phase position within the workflow. Any non-win phase can be moved to any non-win position. The win phase cannot be moved. Positions are zero-based, meaning the first position is 0.

This function requires you to specify the ID of a phase. To learn about retrieving IDs in the Workflow API, see Retrieving IDs.

Method Declaration
Method Parameters

ID of the phase to move.


Information about where to move the phase.

Was this helpful?