Skip to content
On this page

Getting Launch Rules

Using the Workflow ID, you can get all the properties and rules required to launch the workflow. Since most workflows require some user entered data, you'll need to know what data to collect and the Launch Rules API will provide that for you.

csharp
var workflowsListRequest = new WorkflowListRequestModel()
                           {
                               ProntoID = "MyAccountID"
                           };

var api = new WorkflowsApi(myRestEndpointUrl);
var results = api.GetWorkflowLaunchRules(req, apiKey, apiSecret, apiUsername, apiPassword);
if (results.IsSuccessful.Value)
{
    var rules = results.Workflow;
    
    // do work
}