Get a Workflow

Gets a Workflow by ID. The Workflow ID can be read off of the Workflow object, or copied from the URL of the Workflow.

πŸ‘

Permissions Required

You must have Find permissions to the Workflow in order to for this request to succeed.

Method Signature

Workflow get(String id);

Parameters

ParameterTypeDescription
idStringThe id of the Workflow to get
returnsWorkflowThe requested Workflow

Example

/*
 * This example demonstrates getting a Workflow by ID
 */
import org.catalytic.sdk.CatalyticClient;
import org.catalytic.sdk.entities.Workflow;

public class Program {
  
    public static void main(String[] args) throws Exception {
        
        // Create and initialize the Catalytic SDK Client
        CatalyticClient catalytic = new CatalyticClient();
        
        // Get the Workflow with id c9f2beec-10c0-4f2f-b4e0-1d884c7e053d
        Workflow workflow = catalytic.workflows().get("c9f2beec-10c0-4f2f-b4e0-1d884c7e053d");
    }
}