activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.
UiPath logo, featuring letters U and I in white

Actividades del flujo de trabajo

Última actualización 9 de mar. de 2026

Esperar trabajo y continuar

UiPath.Persistence.Activities.Job.WaitForJobAndResume

Descripción

Suspende la ejecución del flujo de trabajo actual hasta que se complete un trabajo especificado. Para designar un trabajo, se debe proporcionar un objeto JobData , recuperado de la actividad Iniciar trabajo y obtener referencia . Cuando se completa el trabajo, se reanuda la ejecución del flujo de trabajo.

Los trabajos pueden tener los siguientes estados:

  • docs image Pendiente : un trabajo está en este estado si está en cola en el mismo Robot o está intentando establecer una conexión con el Robot (solo se pueden poner en cola diferentes trabajos en el mismo Robot).
  • docs image En ejecución : un trabajo está en este estado si ha establecido una conexión con el Robot que comenzó a ejecutar el proceso designado.
  • docs image Correcto : un trabajo está en este estado si el robot lo ha ejecutado correctamente y ha terminado de ejecutarse o se ha detenido utilizando el botón Detener .
  • docs image Faulted - A job is in this state if it failed to start or the process threw an unhandled error during execution.
    Nota:

    Los trabajos defectuosos deben reiniciarse manualmente.

  • docs image Deteniendo : un estado intermedio que se desencadena si haces clic en el botón Detener en Orchestrator. El trabajo se cancela tan pronto como sea seguro. Esto puede implementarse en un flujo de trabajo utilizando la actividad Debería detenerse .
  • docs image Terminando : un estado intermedio que se desencadena si haces clic en el botón Cancelar en Orchestrator. De forma predeterminada, un trabajo de limpieza en segundo plano se ejecuta una vez cada tres horas y pasa a Defectuoso los trabajos que han estado en estado Terminando durante al menos un día.
  • docs image Suspendido : un estado intermedio que se desencadena con el propósito de permitir la intervención del usuario o la finalización de un proceso intermedio. Se desencadena por las actividades correspondientes en Studio. Más detalles aquí.
  • Reanudado : un estado intermedio que se desencadena si se cumplen las condiciones (intervención del usuario, finalización del proceso intermedio) de un flujo de trabajo fragmentado. Se desencadena por las actividades correspondientes en Studio. Más detalles aquí.
  • docs image Detenido: un trabajo está en este estado si se detuvo (usando el botón Cancelar, o cancelándolo desde la bandeja del sistema) antes de que terminara de ejecutarse sin lanzar ningún error.

Una vez reanudado, un trabajo pasa al estado En ejecución .

Compatibilidad de proyectos

Windows - Heredado | Windows | Multiplataforma

Windows, Windows: configuración heredada

Panel del Diseñador
  • Job Object (Input) - The Job you want to suspend, stored in a JobData variable. This variable can be obtained from a Start Job and Get Reference activity, This field supports only JobData variables.
  • Job Object - The updated Job object obtained from Orchestrator after the execution of this activity.
Panel de propiedades

Común

  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

    Nota:

    If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

  • Nombre para mostrar: el nombre para mostrar de la actividad.

  • StatusMessage - The message specified in this property field is displayed in Orchestrator alongside the workflow that is suspended by this activity. This field supports strings and String variables only.

  • LímiteDeTiempoEnMilisegundos: especifica la cantidad de tiempo (en milisegundos) que se debe esperar a que se ejecute la actividad antes de mostrar un error. El valor predeterminado es 30000 milisegundos (30 segundos).

Entrada

  • Job Object (Input) - The Job you want to suspend, stored in a JobData variable. This variable can be obtained from a Start Job and Get Reference activity, This field supports only JobData variables.

Otros

  • Privado : si se selecciona, los valores de variables y argumentos ya no se registran en el nivel Detallado.

Salida

  • Job Object - The updated Job object obtained from Orchestrator after the execution of this activity.

Configuración multiplataforma

  • Job Object (Input) - The Job you want to suspend, stored in a JobData variable. This variable can be obtained from a Start Job and Get Reference activity, This field supports only JobData variables.
  • Job Object - The updated Job object obtained from Orchestrator after the execution of this activity.
Opciones avanzadas
  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

    Nota:

    If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

  • LímiteDeTiempoEnMilisegundos: especifica la cantidad de tiempo (en milisegundos) que se debe esperar a que se ejecute la actividad antes de mostrar un error. El valor predeterminado es 30000 milisegundos (30 segundos).

  • StatusMessage - The message specified in this property field is displayed in Orchestrator alongside the workflow that is suspended by this activity. This field supports strings and String variables only.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado