- Información general
- Comience ya
- Conceptos
- Uso de UiPath CLI
- Guías prácticas
- Recetas de CI/CD
- Referencia de los comandos
- Información general
- Códigos de salida
- Opciones globales
- agente de código UIP
- uip coder
- uip context-grounding
- UIP Docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- añadir-entidad-de-datos-de-prueba
- añadir-cola-de-datos-de-prueba
- añadir-variación-de-datos-de-prueba
- Analizar
- Crear
- Crear proyecto
- Diferencia
- Buscar actividades
- obtener-reglas-del-analizador
- obtener-predeterminado-actividad-xaml
- obtener-errores
- obtener-casos-de-prueba-manual
- obtener-pasos-de-prueba-manual
- get-library-object-repository
- get-object-repository
- obtener versiones
- get-workflow-example
- indicar-aplicación
- indicar-elemento
- inspeccionar-paquete
- install-data-fabric-entities
- instalar-o-actualizar-paquetes
- enumerar-data-fabric-entities
- list-instances
- ejemplos-de-flujo-de-trabajo-de-lista
- Paquete
- Publicar
- remote
- restore
- run, debug & execution
- archivo de ejecución
- plantillas-de-búsqueda
- iniciar-studio
- detener la ejecución
- tm
- UIA
- uip tasks
- Seguimientos de UIP
- uip traces feedback
- Migración
- Referencia y soporte
Syntax and options for wiring polling/webhook triggers and for low-level structured read/write access to a connector's files with the Integration Service connector builder — trigger create, state query, and state patch.
Part of the uip is connectors builder local-authoring toolchain. This page covers two unrelated but small command groups that share a page because of their size:
builder trigger create— wire an existing activity as an event source (polling or webhook), so Studio can trigger a process when a vendor record is created, updated, or deleted.builder state query/patch— a generic, pointer-addressed read/write surface over a connector's on-disk files. This is the escape hatch for anything the higher-level commands (init,auth,activity) don't expose as a dedicated flag.
For connector directory resolution, the design-vs-published distinction, and the overall authoring flow, see Concepts on the parent page. For the activities a trigger attaches to, see Activity & hooks.
Sinopsis
uip is connectors builder trigger create --resource-name <name> --updated-date-field <field> [options...]
uip is connectors builder state query <pointer> [--connector-dir <path>]
uip is connectors builder state patch <pointer> [--value <json> | --value-file <path>] [--op upsert|remove] [--connector-dir <path>]
uip is connectors builder trigger create --resource-name <name> --updated-date-field <field> [options...]
uip is connectors builder state query <pointer> [--connector-dir <path>]
uip is connectors builder state patch <pointer> [--value <json> | --value-file <path>] [--op upsert|remove] [--connector-dir <path>]
uip is connectors builder trigger create
Wire an existing activity/resource as a trigger source: seed the event config bundle (--event-kind), then configure polling metadata (CREATED/UPDATED/DELETED) — the standard-resource metadata, the poller config entry, and the connector's hasEvents flag.
trigger has a single verb. There is no trigger list/get/delete — remove or inspect a trigger through state patch/state query against the resource's element.json entry instead.
Use this to turn an existing GET activity into a polling trigger source. The activity must already exist — this command hard-fails with Code: "resourceNotFound" if no standard-resource file exists yet for --resource-name; run activity create first.
Opciones
| Largo | Valor | Descripción |
|---|---|---|
--resource-name <name> | String | Required. Existing activity/standard-resource to wire as a trigger. |
--updated-date-field <field> | String | Required. Vendor field carrying the last-modified date, for example LastModifiedDate. |
--event-kind <kind> | polling | webhook | all | Event config bundle to seed. Default polling. Validated client-side — an unrecognized value fails fast with Code: "invalidEventKind" rather than silently falling back. |
--override <kv> | key=value, repeatable | Per-entry defaultValue override for the seeded event preset. |
--created-date-field <field> | String | Vendor creation-date field. Defaults to --updated-date-field. |
--id-field <field> | String | Primary key field. Defaults to Id. |
--date-format <mask> | String | Date-format mask for updated timestamps. |
--created-date-format <mask> | String | Date-format mask for created timestamps. Defaults to --date-format. |
--event-types <csv> | comma-separated | Event types to enable. Defaults to CREATED,UPDATED,DELETED. |
--polling-url <url> | url | Explicit polling URL. Auto-generated from the activity's GET path when omitted. |
--date-timezone <tz> | String | Timezone for date comparisons. Defaults to GMT. |
--polling-resource-label <label> | String | Label used in elementMetadata.pollingResources. |
--connector-dir <path> | Ruta | Connector directory. Same resolution order as Concepts. |
--event-kind folds what used to be a separate config preset --kind event step: it seeds the event config bundle (the poller config entry polling needs) before wiring the polling metadata, in one call.
Ejemplo
uip is connectors builder trigger create --resource-name Account \
--updated-date-field LastModifiedDate --id-field Id
uip is connectors builder trigger create --resource-name Account \
--updated-date-field LastModifiedDate --id-field Id
Forma de datos (--json de salida)
{
"Code": "TriggerCreated",
"Data": {
"ConnectorRoot": "/work/my-acme-connector",
"ResourceName": "Account",
"EventKind": "polling",
"EventTypes": ["CREATED", "UPDATED", "DELETED"],
"PollingUrl": "/accounts?where=LastModifiedDate>'<gmtDate>'",
"PollerConfigKey": "polling.interval",
"PollingConfig": { "...": "seeded poller config entry" }
}
}
{
"Code": "TriggerCreated",
"Data": {
"ConnectorRoot": "/work/my-acme-connector",
"ResourceName": "Account",
"EventKind": "polling",
"EventTypes": ["CREATED", "UPDATED", "DELETED"],
"PollingUrl": "/accounts?where=LastModifiedDate>'<gmtDate>'",
"PollerConfigKey": "polling.interval",
"PollingConfig": { "...": "seeded poller config entry" }
}
}
A Warnings array is added when the operation succeeds with caveats (for example, an auto-generated polling URL that may need manual review).
uip is connectors builder state query
Read the slice of a connector addressed by a pointer. Read-only — returns the parsed value as-is (an object, array, or string).
Use this to inspect a connector's current shape before patching it — a single config entry, resource, standard-resource field, hook file, or metadata key. For a whole-connector structural rollup instead of one addressed slice, use inspect. To write or remove, use state patch below.
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<pointer> | Sí | Pointer into the connector — see Pointer grammar below. |
Opciones
| Largo | Valor | Descripción |
|---|---|---|
--connector-dir <path> | Ruta | Connector directory. Same resolution order as Concepts. |
Ejemplos
uip is connectors builder state query element.json/configuration/base.url
uip is connectors builder state query element.json/configuration/base.url
# Path segments in a resource pointer are URL-encoded
uip is connectors builder state query element.json/resources/GET/%2Fcontacts
# Path segments in a resource pointer are URL-encoded
uip is connectors builder state query element.json/resources/GET/%2Fcontacts
uip is connectors builder state query standard-resources/contacts/fields/email
uip is connectors builder state query standard-resources/contacts/fields/email
Forma de datos (--json de salida)
{
"Code": "StateQuery",
"Data": {
"pointer": "element.json/configuration/base.url",
"value": { "key": "base.url", "type": "TEXTFIELD_128" }
}
}
{
"Code": "StateQuery",
"Data": {
"pointer": "element.json/configuration/base.url",
"value": { "key": "base.url", "type": "TEXTFIELD_128" }
}
}
Value's keys are kept exactly as they appear on disk (camelCase, not PascalCased like the rest of this CLI's output) — this is deliberate, so a state query result can be fed straight into state patch --value without any reshaping. See Query → patch round-trip below. An array-level read that returns per-item stubs instead of full objects adds "Summarized": true and a SummaryHint field to the envelope — treat a summarized result as a list of names/keys to query individually, not the full records.
uip is connectors builder state patch
Write (upsert) or remove the slice of a connector addressed by a pointer. element.json is the source of truth; linked standard-resource parameters auto-sync when a patch changes something they depend on.
Use this to set or replace a config entry, resource, parameter, standard-resource field, hook, or metadata key that none of the higher-level commands (init, auth, activity) expose as a dedicated flag — or to remove a single addressed item (--op remove). To read first, use state query above. This is not for bulk scaffolding or auth wiring — use the dedicated authoring commands for those.
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<pointer> | Sí | Pointer into the connector — see Pointer grammar below. |
Opciones
| Largo | Valor | Descripción |
|---|---|---|
--value <json> | inline JSON | Value to write. Mutually exclusive with --value-file. Omit for --op remove. |
--value-file <path> | Ruta | Read the JSON value to write from a file instead of inline. Mutually exclusive with --value. |
--op <op> | upsert | remove | Operation. Default upsert. |
--connector-dir <path> | Ruta | Connector directory. Same resolution order as Concepts. |
Ejemplos
uip is connectors builder state patch standard-resources/contacts/fields/email \
--value '{"type":"string","vendorPath":"email"}'
uip is connectors builder state patch standard-resources/contacts/fields/email \
--value '{"type":"string","vendorPath":"email"}'
uip is connectors builder state patch 'element.json/resources/GET/%2Fcontacts/parameters/0' --op remove
uip is connectors builder state patch 'element.json/resources/GET/%2Fcontacts/parameters/0' --op remove
Forma de datos (--json de salida)
{
"Code": "StatePatched",
"Data": {
"Pointer": "standard-resources/contacts/fields/email",
"Op": "upsert",
"Outcome": "Upserted field 'email' in contacts."
}
}
{
"Code": "StatePatched",
"Data": {
"Pointer": "standard-resources/contacts/fields/email",
"Op": "upsert",
"Outcome": "Upserted field 'email' in contacts."
}
}
A Warnings array is added when the patch succeeds with caveats, and an AutoSynced array lists any linked files or fields the patch updated as a side effect (for example, a standard-resource parameter kept in sync with a changed element.json resource definition). Both are omitted from Data when empty.
Pointer grammar
Both state query and state patch address a connector through the same pointer grammar, also shown in each command's own --help output:
| Pointer | Direcciones |
|---|---|
element.json/configuration | Configuration summary. Filter with ?type=. |
element.json/configuration/{key} | One configuration entry. |
element.json/resources | Resource summary. Filter with ?method= / ?type=. |
element.json/resources/{METHOD}/{path} | One resource ({path} is URL-encoded). |
element.json/authentication | The authentication block. |
element.json/hooks | element.json/parameters | Global hooks / parameters arrays. |
standard-resources | List standard-resource names. |
standard-resources/{name} | A whole standard-resource file. |
standard-resources/{name}/fields | List field names. |
standard-resources/{name}/fields/{field} | One field object. |
standard-resources/{name}/metadata[/{key}] | Metadata object, or a single metadata key. |
hooks | List hook files. |
hooks/{file} | One hook JS file. |
element-metadata.json | El objeto element-metadata.json. |
| any other repo-relative path | Raw-file fallback. Read-only; JSON is pretty-printed. |
Query → patch round-trip
state query's output is designed to be fed straight back into state patch --value unmodified: read a slice with query, edit the resulting JSON, then patch the same pointer with --value set to the edited JSON (or write it to a file and use --value-file). This only works because Value's keys are preserved verbatim (camelCase, on-disk casing) rather than PascalCased like the rest of this CLI's JSON output — re-casing the keys before patching will not round-trip correctly.
Relacionado
- Overview & tenant lifecycle — concepts shared across all builder pages, plus
download/import/publish/publish-status. - Init & connector — scaffold a connector, and the
inspectstructural rollup. - Auth — configure the connector's authentication scheme.
- Activity & hooks — the activities a trigger attaches to.
Ver también
- Sinopsis
- uip is connectors builder trigger create
- Opciones
- Ejemplo
- Forma de datos (--json de salida)
- uip is connectors builder state query
- Argumentos
- Opciones
- Ejemplos
- Forma de datos (--json de salida)
- uip is connectors builder state patch
- Argumentos
- Opciones
- Ejemplos
- Forma de datos (--json de salida)
- Pointer grammar
- Query → patch round-trip
- Relacionado
- Ver también