Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

The FlexFields page provides ability to configure user defined attributes for Deploy or Build Requests. When a Deploy or Build Request is submitted by a user, they will be prompted to enter values for the configured FlexFields. There are 10 FlexFields, for each scope, that are available for the user to setup additional properties that can be associated to a Deploy or Build Request. An example usage for a FlexField would be allowing the user to specify the change request number associated with the Deployment Request. These FlexFields can be viewed in the reports and tasks screen and could provide additional information about a specific Deploy or Build Request.

Deploy Request Scope

Build Request Scope

Build Request FlexFields


Enter values for the FlexFields as described in the table below.

Field

Required

Description

Active

Yes

Whether this FlexField is active or not. Defaults to No.

Column Name

Yes

The name of the FlexField column. Read-only field.

Code

Yes

User-defined code that identifies this FlexField.

Display Name

Yes

Display name, which is used in Deployment or Build Request Form, reports etc.

Description

No

Description for the FlexField which will be displayed on the Deployment or Build Request Form.

Datatype

Yes

The FlexField's data type. Default is String.

Rows

No

Display attribute that defines the number of rows in the input field on the Deployment or Build Request Form.

Columns

No

Display attribute that defines the number of columns in the input field on the Deployment or Build Request Form.

List Data CSV

No

Allows the user to define a comma-separated list of values that will be displayed in the Workflow Request page. If given, a Dropdown component will be displayed on the Deployment or Build Request Form.

Required

Yes

Whether the FlexField is required or not. Defaults to No.

Length

No

For String data type, this controls length of value being entered.

Min Value

No

User can control the minimum value for data types such as Integer, Float, Double and Long.

Max Value

No

User can control the maximum value for data types such as Integer, Float, Double and Long.

Default Value Groovy Script

No

Enter Groovy script to define default values for the FlexField.

Validation Groovy Script

No

Enter Groovy script to define validation for the FlexField. The script should return true or false to indicate validation success or failure. See an example.

Groovy script can use these variables:

  • EnvironmentCode – environment for deploy or build request.
  • ProjectName – name of the project being built or deployed.
  • ApplicationName – name of the application that the project(s) being built or deployed are under.
  • FolderPath – fully qualified name to the project or application.
  • PartialDeploymentsFlag – flag indicating if a project uses partial deployment.
  • ProjectType – type of project, set up on creation, being built or deploy (EBS, Oracle MFT, Oracle BI, Oracle DB, Oracle Forms, or Salesforce).
  • WorkflowName – name of the workflow being used to perform the build or deployment.
  • Value – value entered by user for FlexField.
  • ValidationMessage – script can set specific error message in attribute, only used if script returns false.

Updated By

N/A

The user who last updated the FlexField (read-only).

Updated On

N/A

The date/time in which the FlexField was last updated (read-only).


Click the Save button to save the changes.

You can use custom Java API as well from Groovy script. You can put Jar file containing your API in WebLogic domain's lib folder. This example shows such the use of custom a Java API. This can be useful to interface with an external system using SOAP, REST or other proprietary API.



The active FlexFields will be available for users when submitting the deployment request (see below). If the FlexField is configured as required, then the user must enter value. Other validations like Data Type, String length, Range check for numbers etc. are also performed as defined for specific FlexField. Custom Groovy validations that are defined by the user in the admin page will be executed as well against the user input. FlexField values will be available in the Reports and Tasks to provide additional information regarding the deployment request.




  • No labels