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
Copy
Method Parameters
phaseIdstringRequired

ID of the phase to update.


phaseInfoUpdatePhaseRequestRequired

Phase information to update.

Did this help?