Skip to main content

WorkflowTriggerAttributes

Properties

NameTypeDescriptionNotes
IdStringThe unique ID of the trigger[required]
VarFilterStringJSON path expression that will limit which events the trigger will fire on[optional]
DescriptionStringAdditonal context about the external trigger[optional]
AttributeToFilterStringThe attribute to filter on[optional]
NameStringA unique name for the external trigger[optional]
ClientIdStringOAuth Client ID to authenticate with this trigger[optional]
UrlStringURL to invoke this workflow[optional]
CronStringStringA valid CRON expression[optional]
FrequencyEnum [ "daily", "weekly", "monthly", "yearly", "cronSchedule" ]Frequency of execution[required]
TimeZoneStringTime zone identifier[optional]
WeeklyDays[]StringScheduled days of the week for execution[optional]
WeeklyTimes[]StringScheduled execution times[optional]

Examples

  • Prepare the resource
$WorkflowTriggerAttributes = Initialize-PSSailpoint.V2024WorkflowTriggerAttributes  -Id idn:identity-attributes-changed `
-VarFilter $.changes[?(@.attribute == 'manager')] `
-Description Run a search and notify the results `
-AttributeToFilter LifecycleState `
-Name search-and-notify `
-ClientId 87e239b2-b85b-4bde-b9a7-55bf304ddcdc `
-Url https://tenant.api.identitynow.com/beta/workflows/execute/external/c79e0079-562c-4df5-aa73-60a9e25c916d `
-CronString 0 9 * * 1 `
-Frequency null `
-TimeZone America/Chicago `
-WeeklyDays Monday `
-WeeklyTimes Monday
  • Convert the resource to JSON
$WorkflowTriggerAttributes | ConvertTo-JSON

[Back to top]