You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create a new workflow stage change, you can use the `create` method:
995
+
If you need to move a story to a specific workflow stage (using the workflow stage identifier), you must create a new stage change, for example, when moving a story from *Drafting* to *Reviewing*. To create a new workflow stage change, you can use the `create()` method:
According to the structure of the Management API, when creating a new workflow stage change you can set the following parameters directly in the create method.
1012
+
-`WorkflowStageChange::makeFromParams()`: defines the stage change payload, including the story ID, target workflow stage ID, and optional attributes such as a due date.
1013
+
-`commentMessage`: a text message added to the stage change, useful for providing context or reviewer instructions.
1014
+
-`notify`: a boolean indicating whether Storyblok should send notifications to users associated with the workflow stage.
1015
+
1010
1016
## Using the `ManagementApi` class
1011
1017
1012
1018
To illustrate how to use the `ManagementApi` class, we will demonstrate its usage with the Internal Tags endpoint.
0 commit comments