Skip to main content

FieldLogs

Creating a Lifecycle Form

A Lifecycle Form is used to request information from the user in a User Task of a Custom Lifecycle.

A Custom Lifecycle can be used to detail the steps required for:

  1. Template Publication

  2. Incident Resolution

  3. Document Approval

A Lifecycle Form can be mandatory or optional. If a Lifecycle Form is mandatory, the process cannot go ahead until it fulfills the requirement given in that step.

Steps to Create a Lifecycle Form

To create a Lifecycle Form:

  1. From the main menu, go to Enterprise > Organization > Lifecycle Forms.

    TaskForm1.png

    The page Lifecycle Forms opens.

    TaskForm2.png
  2. Click New Lifecycle Form.

    TaskForm3.png
  3. Enter the Name and Description for the Form.

    TaskForm-NewNameDesc.png
  4. Select a Functional Domain for the Form. The Functional Domain denotes the process in which the Form can be used.

    Functional_Domain.png

    The following options are available:

    • Template: Select Template, to use the form in the Template Publication process.

    • Incident: Select Incident, to use the form in the Incident Resolution process.

    • Approval: Select Approval, to use the Form for the Document Approval process.

    • OP Plan: Select OP Plan to use the form for Operation Plan Tasks.

    • Tryout: Select Tryout to use the form for new or revised Task Cards.

  5. Click PlusAddFields.png to add property fields to the Form.

    TaskForm-NewProperty.png

    You can re-order property fields in the Form using the arrows as indicated below.

    TaskForm-PRopFields.png
  6. [Mandatory] Enter a Code for the Field. The value of this Field can be referenced in the Lifecycle by concatenating the FormCode and FieldCode, i.e., using the format FormCodeFieldCode.

    LifecycleForms-Code.png
  7. [Mandatory] Enter a Name for the Field.

    LifecycleForms-Name.png
  8. Select the Type of the Field from the dropdown list. This indicates the data type of the Field.

    TaskForm-Types.png

    In the below example, Check and Approved are Fields of Type File.

    FieldCheck.png

    The required file is already attached to the Approved Field. Hence, the View file and Remove file options are displayed.

    Note

    A 4 eyes review constraint does not allow the author of the Template to review it. A different person is required to review it.

    To enforce a 4 eyes review constraint, select 4 eyes review.

  9. Check Mandatory if this Field needs to be mandatory in the Form.

    TaskForm-Mandatory.png
  10. If the Field is a dropdown list, check List. If the list allows multi-selection of list items, check Multi Selection.

    TaskForm-List.png

    Enter the values to be populated in the list, with a semicolon to separate the values.

    TaskForm-ListofVal.png
  11. [Optional] If there is more than one Field, you can set the following types of conditions for a Field:

    LifecycleForms_Conditions.png
    • Mandatory Condition: When this condition is true, the selected field is mandatory.

      LifecycelForms-MandatoryCondition.png

      In this example, the Field Number is mandatory when this condition is true.

      LifecycleForms_MandatoryError.png

      Note

      If you do not provide a value in the mandatory Field, an error message is displayed when you submit the Template.

      LifecycleForms-MandatoryError.png
    • Enabling Condition: When this condition is true, the selected field is enabled.

      LifecycleForms_EnablingCondition.png

      In this example, the Field Number is enabled when this condition is true.

      LifecycleForms_TemplateMandatory.png
      LifecycleForms_Rotorbladedisabled.png
    • On Change: The condition set activates a dynamic form behavior where the selection of one Field value automatically triggers the selection or update of another Field value.

      LifecycleForms-OnchangeCondition.png

      In the example below, for a Template Publication process, a condition is set to automatically trigger the selection of Field Number value when the value of the Field Tools is selected or updated.

      LifecycleForms_Rotorbladedisabled.png
      LifecycleForms_OnchangeAllenScrew.png

    Note

    As on change script doesn't support Multi Selection, deselect the Multiple Selection option.

    LifecyclleForms_MultipleSelection.png
  12. Add a Description for the Field.

    TaskForm-Description.png
  13. Click Save.

    TaskForm-ClickSave.png

You have successfully created a new Form. It is now available to use in a User Task in a Custom Lifecycle.

TaskForm-NewFormAdded.png
TaskForm-InUserTask.png