Trigger Commands

uac trigger

Commands for managing triggers, including creating, updating, and listing triggers

uac trigger [OPTIONS] COMMAND [ARGS]...

assign-execution-user

Assign an Execution User to a Trigger

uac trigger assign-execution-user [OPTIONS] triggerid=value triggername=value
                                  username=username password=password

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

triggerid=value triggername=value username=username password=password

Optional argument(s)

create

Create a Trigger

uac trigger create [OPTIONS] retain_sys_ids=value

Options

-o, --output <output>
-i, --input <input>

Required

-s, --select <select>

select which field to be returned. JSONPATH

Arguments

retain_sys_ids=value

Optional argument(s)

delete

Delete a Trigger

uac trigger delete [OPTIONS] triggerid=value triggername=value

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

triggerid=value triggername=value

Required argument(s)

enable-disable

Enable/Disable Trigger(s)

uac trigger enable-disable [OPTIONS] enable=boolean name=triggername

Options

-o, --output <output>
-i, --input <input>

Required

-s, --select <select>

select which field to be returned. JSONPATH

Arguments

enable=boolean name=triggername

Optional argument(s)

get

Read a Trigger

uac trigger get [OPTIONS] triggerid=value triggername=value

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

triggerid=value triggername=value

Required argument(s)

list

List Triggers

uac trigger list [OPTIONS] name=value enabled=value type=value
                 business_services=value updated_time_type=value
                 updated_time=value workflow_id=value workflow_name=value
                 agent_name=value description=value tasks=value
                 template_id=value template_name=value

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

name=value enabled=value type=value business_services=value updated_time_type=value updated_time=value workflow_id=value workflow_name=value agent_name=value description=value tasks=value template_id=value template_name=value

Optional argument(s)

list-advanced

List Triggers - Advanced

uac trigger list-advanced [OPTIONS] triggername=value type=value
                          business_services=value enabled=value tasks=value
                          description=value

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

triggername=value type=value business_services=value enabled=value tasks=value description=value

Optional argument(s)

list-qualifying-times

List Trigger Qualifying Times

uac trigger list-qualifying-times [OPTIONS] triggerid=value triggername=value
                                  count=value startdate=value

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

triggerid=value triggername=value count=value startdate=value

Required argument(s)

unassign-execution-user

Unassign an Execution User from a Trigger

uac trigger unassign-execution-user [OPTIONS] triggerid=value
                                    triggername=value

Options

-o, --output <output>
-s, --select <select>

select which field to be returned. JSONPATH

Arguments

triggerid=value triggername=value

Required argument(s)

update

Modify a Trigger

uac trigger update [OPTIONS] version=value sys_id=value exclude_related=value
                   export_release_level=value export_table=value
                   retain_sys_ids=value name=value description=value
                   calendar=value enabled=value forecast=value
                   restriction=value restriction_simple=value
                   restriction_complex=value situation=value action=value
                   restriction_mode=value restriction_adjective=value
                   restriction_nth_amount=value restriction_noun=value
                   restriction_nouns=value restriction_qualifier=value
                   restriction_qualifiers=value skip_count=value
                   skip_active=value simulation_option=value time_zone=value
                   execution_user=value opswise_groups=value tasks=value
                   retention_duration_purge=value retention_duration=value
                   retention_duration_unit=value rd_exclude_backup=value
                   skip_condition=value skip_restriction=value
                   skip_after_date=value skip_after_time=value
                   skip_before_date=value skip_before_time=value
                   skip_date_list=value enabled_by=value enabled_time=value
                   disabled_by=value disabled_time=value
                   next_scheduled_time=value enforce_variables=value
                   lock_variables=value custom_field1=value
                   custom_field2=value variables=value notes=value
                   restriction_qualifiers_from_string=value
                   restriction_nouns_from_string=value type=value

Options

-o, --output <output>
-i, --input <input>

Required

-s, --select <select>

select which field to be returned. JSONPATH

Arguments

version=value sys_id=value exclude_related=value export_release_level=value export_table=value retain_sys_ids=value name=value description=value calendar=value enabled=value forecast=value restriction=value restriction_simple=value restriction_complex=value situation=value action=value restriction_mode=value restriction_adjective=value restriction_nth_amount=value restriction_noun=value restriction_nouns=value restriction_qualifier=value restriction_qualifiers=value skip_count=value skip_active=value simulation_option=value time_zone=value execution_user=value opswise_groups=value tasks=value retention_duration_purge=value retention_duration=value retention_duration_unit=value rd_exclude_backup=value skip_condition=value skip_restriction=value skip_after_date=value skip_after_time=value skip_before_date=value skip_before_time=value skip_date_list=value enabled_by=value enabled_time=value disabled_by=value disabled_time=value next_scheduled_time=value enforce_variables=value lock_variables=value custom_field1=value custom_field2=value variables=value notes=value restriction_qualifiers_from_string=value restriction_nouns_from_string=value type=value

Optional argument(s)