UiPath Documentation
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.

Actividades de desarrollador

Invocar método de Python

UiPath.Python.Activities.InvokeMethod

Le ayuda a ejecutar un método especificado desde un script de Python directamente en un flujo de trabajo.

El script que contiene el método debe cargarse en el entorno primero utilizando la actividad Cargar script de Python.

Solo puede utilizarse dentro de la actividad Ámbito de Python.

Propiedades

Común

  • DisplayName - The display name of the activity. This field supports only String variables.

Entrada

  • Input Parameters - A list of input parameters for the Python script that is to be invoked, if any. This field supports only IEnumerable<Object> variables.
  • Instance - The Python script that contains the method you want to run, stored in a PythonObject variable. This field supports only PythonObject variables.
  • Name - The name of the method that is to be invoked. This field supports only String variables.

Otros

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

Salida

  • Result - The result of the invoked method, stored in a PythonObject variable. Can be further processed using the Get Python Object activity and converted to a .NET datatype.
  • Propiedades
  • Común
  • Entrada
  • Otros
  • Salida

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado