Skip To Content

Agregar y configurar Actualizar propiedades de trabajo 1-M

El paso Actualizar propiedades de trabajo 1-M le permite crear registros y ver y editar las propiedades configuradas en el paso del último registro en la tabla de propiedades de uno a muchos de un trabajo.

Cuando se ejecuta el paso, las propiedades configuradas en el paso aparecen en la tesela de trabajo. Si se ha configurado texto de ayuda para este paso, este aparece en la parte inferior de la tesela del trabajo. Los valores predeterminados o actuales aparecen en un cuadro de texto debajo de cada propiedad actualizable.

When the step is run, the following actions can be performed:

  • Las propiedades configuradas se pueden ver o editar.
  • The step can be cancelled by clicking Cancel.
  • The step can be finished by clicking Proceed.

Configurar el paso

To configure the step, do the following:

  1. Create or edit a workflow diagram to access the Step Library panel.
  2. Arrastre Actualizar propiedades de trabajo 1-M desde el panel Biblioteca de pasos a una flecha de conexión de un paso en el lienzo del flujo de trabajo.

    The Step Details panel appears.

  3. Provide a name for the step in the Step Name text box.
  4. Optionally, add the message you want to appear when the step is run in the User Prompt text box.

    You can also use the following example to display a dynamic value using ArcGIS Arcade expressions:

    'This job is currently assigned to ' + jobOwner($job) + '.'
  5. Elija una de las siguientes opciones para la configuración de Modo:
    • Crear nuevo: cree un registro para las propiedades configuradas en el paso.
    • Editar: edite las propiedades configuradas en el paso del último registro creado.
      Nota:

      Si no existe ningún registro, se crea un registro para las propiedades configuradas en el paso.

    • Ver: vea las propiedades configuradas en el paso para el último registro creado.
      Nota:

      Si no existe ningún registro, el paso falla.

  6. En la sección Argumentos, escriba el nombre de la tabla y el nombre de campo de la propiedad que desea actualizar en el cuadro de texto Propiedad del trabajo usando la siguiente sintaxis:
    tablename.fieldname
    Nota:

    Los nombres de tabla de las tablas de propiedades extendidas se encuentran en la pestaña Propiedades extendidas de la plantilla de trabajo.

  7. Si lo desea, haga clic en el botón Mostrar valor predeterminado Show Default Value para definir la configuración de visibilidad y valor predeterminado de la propiedad cuando se ejecuta el paso.
    1. Elija una de las siguientes opciones:
      • Valor: proporcione un valor estático.
      • Expresión de Arcade: proporcione un valor dinámico usando una expresión de Arcade.
    2. Proporcione un valor predeterminado para la propiedad en el cuadro de texto Valor o Expresión de Arcade.
    3. Active la casilla de verificación Visible para permitir cambiar el valor al ejecutar el paso.
    Precaución:

    Si no se proporciona un valor predeterminado y la casilla de verificación Visible no está activada para una propiedad, el valor de la propiedad se elimina al ejecutar el paso.

  8. Si lo desea, haga clic en Agregar nueva propiedad de trabajo y repita los pasos 6 y 7 para agregar más propiedades.
    Nota:

    Para eliminar una propiedad de trabajo, pase el cursor por encima de ella y haga clic en el botón Eliminar propiedad Delete Property.

  9. Optionally, hover over a property, click the Reorder Property button Reorder Property, and drag it to the desired location to reorder the properties.
  10. Click the Options tab.
  11. Configure Step Options as necessary.
    • Manual—Run the step manually.
      • Optional—Allow the step to be finished without being run.
    • Automatic—Run the step as soon as it becomes active.
      Nota:

      If your workflow diagram is configured to automatically run a sequence of steps that includes the Evaluate Data Quality or the Run GP Service step, steps that attempt to run after the user token that started the sequence of steps expires will not run automatically. You must have a license for the ArcGIS Workflow Manager Server Advanced role to continue running the additional automated steps without manual intervention.

    • Run on a Schedule—Run the step according to a schedule you set.

      Learn more about scheduling options

  12. Optionally, check the Enabled check box in the Step Commenting section to allow a user to add a comment when the step is run.
  13. Optionally, if you enabled step commenting, check the Required check box in the Step Commenting section to require a comment.
  14. Optionally, provide help text for the step in the Step Help text box.

    You can also use the following example to display a dynamic value using ArcGIS Arcade expressions:

    'For further assistance, please contact ' + jobCreator($job) + '.'
  15. Optionally, click the Style tab to change the shape and color of the step.
  16. Optionally, click the About tab and provide a description for the step in the Step Description text box.
    Nota:

    The About tab also contains the step's ID that can be used with dynamic job properties to obtain a step's output.

Return value

When the step is completed, its return value is stored to indicate the result of the step. The return value can be immediately evaluated using paths to determine the next steps in the workflow. You can also retrieve the return value for completed steps throughout the workflow using ArcGIS Arcade expressions. The following table lists the step's return values:

Return valuesDescription

S000001

The step completed successfully.

F000001

The step failed to complete successfully.

Valor de salida

When the step is completed, its output value is stored and can be used to determine the path the workflow follows or be used as inputs for other steps throughout the workflow. The following table shows the step's output value:

SalidaDescripciónSintaxis de la expresión de ArcGIS Arcade

<ExtendedPropertyRecordId>

Devuelve el Id. de registro de la tabla de propiedad extendida que se creó, visualizó o editó.

jobOutputValue($job, '<step_id>')

Temas relacionados