Get an Instance

Gets an Instance by ID. The Instance ID can be read off the instance object, or copied from the URL of the instance.

šŸ‘

Permissions Required

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

Method Signature

Instance Get(Guid id);
async Task<Instance> GetAsync(Guid id);

Parameters

ParameterTypeDescription
idGuidThe id of the Instance to get
returnsInstanceThe requested Instance
Instance Get(string id);
async Task<Instance> GetAsync(string id);
ParameterTypeDescription
idstringThe id of the Instance to get
returnsInstanceThe requested Instance

Example

/*
 * This example demonstrates getting a Workflow Instance by ID
 */
using Catalytic.Sdk.Entities;

namespace Catalytic.Sdk.Examples
{
    class Program
    {
        static void Main(string[] args)
        {
            var catalytic = new Catalytic.Sdk.CatalyticClient(Credentials.Default);
            var instance = catalytic.Instances.Get("e6df431b-1041-4326-89e5-1e14caa6a08f");
        }
    }
}