Mit der Standard- oder Advanced-Lizenz verfügbar.
Extended properties allow you to track business-specific information as part of the job. This job element extends the basic job properties (assignment, due date, and so on) with things you are interested in tracking and reporting.
Workflow Manager (Classic) offers two types of extended properties—one to one (1-1) and one to many (1-M, or linked properties). To configure and use extended properties in your job types, you must create a new geodatabase table in the Workflow Manager (Classic) repository. Then, configure Workflow Manager (Classic) to recognize this table as an extension to the rest of the system tables.
Types of table relationships
One-to-one properties
One-to-one properties have a 1-1 relationship with the Workflow Manager (Classic) jobs table. An example of this is the job's assignment. At any time during the life of the job, the job assignment can have only one user or group responsible for it at a time. Configure your extended property table with a 1-1 relationship if your jobs can have only one value for the property.
One-to-one properties are commonly referred to as extended properties in the documentation and client application.
One-to-many properties
One-to-many properties have a 1-M relationship with the Workflow Manager (Classic) jobs table. An example of this type of relationship is job attachments. Jobs may have only one attachment or may have multiple attachments at any given time during their life cycle. Configure your extended properties table with a 1-M relationship if the job may have multiple values for the property at a time.
One-to-many properties are commonly referred to as linked properties or related information in the documentation and client application.
Configuring extended properties tables
Creating an extended property table
Extended properties tables need to be created through ArcCatalog.
- In ArcCatalog, connect to the database containing your Workflow Manager (Classic) system tables.
- Create a new table to contain your custom properties by right-clicking the Contents tab and clicking New > Table.
The New Table dialog box appears.
- Provide a name for your extended properties table.
A useful convention is to use WMX_ as the start of the table name, making it recognizable as an extension of the core Workflow Manager (Classic) system tables.
- Click Next.
- Choose the configuration keyword that was used during the creation of workflow database.
- Click Next.
- Add a field to be used to link this table with the jobs table.
This must be of type Long Integer and will be managed by Workflow Manager (Classic). Typically, this field is called JOB_ID.
- Add the fields for each property required.
You can add fields here for multiple job types and only configure some visible for certain job types.
- Click Finish to create the table.
Adding an extended property table to the system
After creating the table through ArcCatalog in the repository, you'll need to add it to the Workflow Manager (Classic) system.
- Start the Administrator and connect to your Workflow Manager (Classic) database.
- Choose the Geodatabases folder.
- Right-click and click Add an extended properties table.
A dialog box appears showing you all the non-Workflow Manager (Classic) system tables that reside in the Workflow Manager (Classic) repository.
- Select your new extended properties table, and click Add.
The Table Relationships dialog box appears.
- Choose the field you designed to contain the JOB_ID from the Link Field drop-down menu.
Only fields with a data type of Long Integer will be shown.
- Choose the cardinality for this table.
Will it be a 1-1 relationship with the jobs table or a 1-M?
- Click OK to create the new relationship and close the dialog box.
Now, when editing your job type, this table will appear in Extended Properties tab.
Removing extended properties tables from the system
You can delete extended properties tables that are no longer used from the system. This will remove any association of this table from any of the job types in your system.
- Start the Administrator and connect to your Workflow Manager (Classic) database.
- Choose the Extended Properties Tables folder under Geodatabases.
- Choose the table you want to remove.
- Right-click and click Delete Item.
Once the table has been removed from the Workflow Manager (Classic) system, you can delete the table from the repository in ArcCatalog.