> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebellapp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# my.navigateBackMiniProgram

> Return to the previous Mini Program.

Navigate back to the Mini Program that opened the current one.

## Parameters

| Property  | Type     | Required | Description                                                                                       |
| --------- | -------- | -------- | ------------------------------------------------------------------------------------------------- |
| extraData | Object   | No       | Data to pass back to the previous Mini Program, accessible via `App.onLaunch()` or `App.onShow()` |
| success   | Function | No       | Callback on success                                                                               |
| fail      | Function | No       | Callback on failure                                                                               |
| complete  | Function | No       | Callback that always executes                                                                     |

## Code Example

```javascript theme={null}
my.navigateBackMiniProgram({
  extraData: {
    result: 'completed',
    orderId: '12345'
  },
  success: () => {
    console.log('Returned to previous Mini Program');
  }
});
```

## Related APIs

<CardGroup cols={2}>
  <Card title="my.navigateToMiniProgram" icon="arrow-right" href="/jsapi/open-capabilities/my.navigateToMiniProgram">
    Navigate to Mini Program
  </Card>
</CardGroup>
