---
description: This section contains the necessary methods to get remaining step's.
---

# Get remaining steps

The following method provides information about all the remaining steps in the specified process token.

```java
BiometridOn.getInstance().getRemainingSteps(String process_token, OnProcessCallback callback);
```

## Callback params

| getRemainingSteps Callback     | Callback                            |
| ------------------------------ | ----------------------------------- |
| Boolean status                 | Status of request                   |
| ArrayList\<StepType> stepTypes | Remaining step's array from process |
| JsonObject json                | JsonObject data from request        |
| Errors e                       | Errors object                       |

## Implementation example

```java
public class ExampleActivity extends Activity implements OnProcessCallback {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_example);

        BiometridOn.getInstance().getRemainingSteps("PROCESS_TOKEN", this); 
    }

    @Override
    public void onRemainingStepsCallback(boolean status, ArrayList<StepType> stepTypes, JsonObject json, Errors e) {

    }

    ...
}
```
