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);
Parameters
Parameter | Type | Description |
---|---|---|
id | String | The id of the Instance to get Steps from |
returns | InstanceStepsPage | The requested page of Instance Steps |
Example
/*
* 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");
}
}
Updated almost 3 years ago