movePrevious (Client API reference)
Moves to the previous stage.
You can also move to a previous stage in a different table.
Syntax
formContext.data.process.movePrevious(callbackFunction);
Note
Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.
Parameters
Name | Type | Required | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
callbackFunction | Function | No | A function to call when the operation is complete. This callback function is passed one of the following string values to indicate the status of the operation:
|
Important
This method can only be used when the selected stage and the active stage are the same. When your code is initiated from the OnStageChange event, the current stage will be selected. When your code is initiated from the OnStageSelected event, you should use the getActiveStage method to verify that the selected stage is also the active stage. For any other form event, it isn’t possible to determine which stage is currently selected. For best results, this method should only be used in code that is called in functions initiated by the OnStageChange and OnStageSelected events.
Remarks
This methods will cause the OnStageChange event to occur.
Related topics
Feedback
Submit and view feedback for