goalstory_set_steps_order
Reorganize and prioritize steps in a goal by defining a new sequence. Assigns updated timestamps based on the provided order to streamline workflows without deleting steps.
Instructions
Reorder steps in a goal by specifying the new sequence. This allows for prioritizing steps or reorganizing the workflow without deleting and recreating steps. IMPORTANT: Steps are ordered by their 'order_ts' timestamp in ascending order - the step with the earliest timestamp becomes step 1, and steps with later timestamps follow in sequence. The system will assign new timestamps based on the array order you provide.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ordered_steps_ids | Yes | Array of step IDs in the desired new order. The first ID in this array will become step 1 (earliest timestamp), the second ID will become step 2, and so on. The array of step IDs *MUST* contain the full set of step ids for the gaol. |