Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 420 Bytes

motion.reset_state.md

File metadata and controls

13 lines (10 loc) · 420 Bytes

Payload

{ id: Id; }

Action

Resets the state to the workflow's first state. Note that the same logic for motion/number is executed as in motion.set_state.

If set_workflow_timestamp is set in the new state of the motion, workflow_timestamp should be set to the current timestamp, otherwise it will be reset.

Permissions

The request user needs motion.can_manage_metadata.