Skip to main content

Workflowlibrarytrigger

Properties

NameTypeDescriptionNotes
IdStringTrigger ID. This is a static namespaced ID for the trigger.[optional]
TypeEnum [ "EVENT", "SCHEDULED", "EXTERNAL", "AccessRequestTrigger" ]Trigger type[optional]
DeprecatedBooleanWhether the trigger is deprecated.[optional] [default to $false]
DeprecatedBySystem.DateTimeDate the trigger was deprecated, if applicable.[optional]
IsSimulationEnabledBooleanWhether the trigger can be simulated.[optional] [default to $false]
OutputSchema[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0Example output schema[optional]
NameStringTrigger Name[optional]
DescriptionStringTrigger Description[optional]
IsDynamicSchemaBooleanDetermines 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.[optional] [default to $false]
InputExample[SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0Example trigger payload if applicable[optional]
FormFields[]WorkflowlibraryformfieldsOne or more inputs that the trigger accepts[optional]

Examples

  • Prepare the resource
$Workflowlibrarytrigger = Initialize-Workflowlibrarytrigger  -Id idn:identity-attributes-changed `
-Type EVENT `
-Deprecated false `
-DeprecatedBy 2023-01-01T00:00Z `
-IsSimulationEnabled false `
-OutputSchema {} `
-Name Identity Attributes Changed `
-Description One or more identity attributes changed. `
-IsDynamicSchema false `
-InputExample {"changes":[{"attribute":"department","newValue":"marketing","oldValue":"sales"},{"attribute":"manager","newValue":{"id":"ee769173319b41d19ccec6c235423236c","name":"mean.guy","type":"IDENTITY"},"oldValue":{"id":"ee769173319b41d19ccec6c235423237b","name":"nice.guy","type":"IDENTITY"}},{"attribute":"email","newValue":"john.doe@gmail.com","oldValue":"john.doe@hotmail.com"}],"identity":{"id":"ee769173319b41d19ccec6cea52f237b","name":"john.doe","type":"IDENTITY"}} `
-FormFields []
  • Convert the resource to JSON
$Workflowlibrarytrigger | ConvertTo-JSON

[Back to top]