Get an Instance Step
Gets an Instance Step by ID. The Step ID can be found with the Get Instance Steps or Find Instance Steps calls, or copied from the URL of the Instance Step.
Permissions Required
You must have Find permissions to the Instance for this request to succeed
Method Signature
InstanceStep GetStep(String id);
Parameters
Parameter | Type | Description |
---|---|---|
id | String | The id of the Instance Step to get |
returns | InstanceStep | The requested Instance Step |
Example
/*
* This example demonstrates getting an Instance Step by 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 InstanceStep by id
InstanceStep step = catalytic.instances().getStep("e6df431b-1041-4326-89e5-1e14caa6a08f");
}
}
Updated almost 4 years ago