Skip to main content

List Complete Workflow Library

GET 

https://sailpoint.api.identitynow.com/v3/workflow-library

This lists all triggers, actions, and operators in the library

Request

Query Parameters

Responses

List of workflow steps

Schema
  • Array [
  • anyOf
    idstring

    Action ID. This is a static namespaced ID for the action

    Example: sp:create-campaign
    namestring

    Action Name

    Example: Create Certification Campaign
    typestring

    Action type

    Example: ACTION
    descriptionstring

    Action Description

    Example: Generates a certification campaign.
    formFields object[]nullable

    One or more inputs that the action accepts

  • Array [
  • descriptionstring

    Description of the form field

    Example: First value to compare
    helpTextstring

    Describes the form field in the UI

    Example: The name to give to this certification campaign.
    labelstring

    A human readable name for this form field in the UI

    Example: Campaign Name
    namestring

    The name of the input attribute

    Example: name
    requiredboolean

    Denotes if this field is a required attribute

    Default value: false
    Example: false
    typestringnullable

    The type of the form field

    Possible values: [text, textarea, boolean, email, url, number, json, checkbox, jsonpath, select, multiType, duration, toggle, formPicker, identityPicker, governanceGroupPicker, string, object, array, secret, keyValuePairs, emailPicker, advancedToggle, variableCreator, htmlEditor]

    Example: text
  • ]
  • exampleOutput object
    oneOf
    object

    Example output

    deprecatedboolean
    deprecatedBydate-time
    versionNumberinteger

    Version number

    isSimulationEnabledboolean
    isDynamicSchemaboolean

    Determines whether the dynamic output schema is returned in place of the action's output schema. The dynamic schema lists non-static properties, like properties of a workflow form where each form has different fields. These will be provided dynamically based on available form fields.

    Default value: false
    Example: false
    outputSchemaobject

    Defines the output schema, if any, that this action produces.

    Example: {"definitions":{},"properties":{"autoRevokeAllowed":{"$id":"#sp:create-campaign/autoRevokeAllowed","default":true,"examples":[false],"title":"autoRevokeAllowed","type":"boolean"},"deadline":{"$id":"#sp:create-campaign/deadline","default":"","examples":["2020-12-25T06:00:00.468Z"],"format":"date-time","pattern":"^.*$","title":"deadline","type":"string"},"description":{"$id":"#sp:create-campaign/description","default":"","examples":["A review of everyone's access by their manager."],"pattern":"^.*$","title":"description","type":"string"},"emailNotificationEnabled":{"$id":"#sp:create-campaign/emailNotificationEnabled","default":true,"examples":[false],"title":"emailNotificationEnabled","type":"boolean"},"filter":{"$id":"#sp:create-campaign/filter","properties":{"id":{"$id":"#sp:create-campaign/filter/id","default":"","examples":["e0adaae69852e8fe8b8a3d48e5ce757c"],"pattern":"^.*$","title":"id","type":"string"},"type":{"$id":"#sp:create-campaign/filter/type","default":"","examples":["CAMPAIGN_FILTER"],"pattern":"^.*$","title":"type","type":"string"}},"title":"filter","type":"object"},"id":{"$id":"#sp:create-campaign/id","default":"","examples":["2c918086719eec070171a7e3355a360a"],"pattern":"^.*$","title":"id","type":"string"},"name":{"$id":"#sp:create-campaign/name","default":"","examples":["Manager Review"],"pattern":"^.*$","title":"name","type":"string"},"recommendationsEnabled":{"$id":"#sp:create-campaign/recommendationsEnabled","default":true,"examples":[false],"title":"recommendationEnabled","type":"boolean"},"type":{"$id":"#sp:create-campaign/type","default":"","examples":["MANAGER"],"pattern":"^.*$","title":"type","type":"string"}},"title":"sp:create-campaign","type":"object"}
  • ]

Authorization: oauth2

type: Personal Access Token
scopes: sp:workflow:read

View SDK Reference

package main

import (
"context"
"fmt"
"os"
"encoding/json"
v3 "github.com/sailpoint-oss/golang-sdk/v2/api_v3"
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
)

func main() {
limit := 250 // int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)




configuration := sailpoint.NewDefaultConfiguration()
apiClient := sailpoint.NewAPIClient(configuration)
resp, r, err := apiClient.V3.WorkflowsAPI.ListCompleteWorkflowLibrary(context.Background()).Execute()
//resp, r, err := apiClient.V3.WorkflowsAPI.ListCompleteWorkflowLibrary(context.Background()).Limit(limit).Offset(offset).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `WorkflowsAPI.ListCompleteWorkflowLibrary``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListCompleteWorkflowLibrary`: []ListCompleteWorkflowLibrary200ResponseInner
fmt.Fprintf(os.Stdout, "Response from `WorkflowsAPI.ListCompleteWorkflowLibrary`: %v\n", resp)
}
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/v3
Auth
Parameters
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!