Get all Instance Steps

Gets all steps in an instance.


Permissions Required

You must have Find permissions to the Instance for this request to succeed

Method Signature

InstanceStepsPage getSteps(String id);


idStringThe id of the Instance to get Steps from
returnsInstanceStepsPageThe requested page of Instance Steps


 * This example demonstrates getting an Instance's Steps by the Instance ID
import org.catalytic.sdk.CatalyticClient;
import org.catalytic.sdk.entities.InstanceStep;

public class Program {
    public static void main(String[] args) throws Exception {
      	// Create and initialize CatalyticClient
        CatalyticClient catalytic = new CatalyticClient();
      	// Get all the steps for a specific instance
        InstanceStepsPage results = catalytic.instances().getSteps("e6df431b-1041-4326-89e5-1e14caa6a08f");
      	List<Steps> steps = results.getSteps();
      	System.out.println("There are " + results.getCount() + " Steps");