updatePhaseFields( )

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.

Updates an existing workflow phase.

The updatePhaseFields() function returns a Promise that resolves when the phase has been updated with the specified values.

Only the properties passed in the Phase object will be updated. All other properties will remain the same.

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 update.


Phase information to update.

Was this helpful?