Touchstone Re 2022 Database Reference
tActivity Table
AIRProject Database : tActivity Table
Description

Stores information about each activity, including the unique sequential identifiers for analyses and activities.

You can use the information in the table to find analysis results.

Properties
Creation Date4/4/2022 3:02 AM
File GroupPRIMARY
Text File GroupPRIMARY
System Object
Published for Replication
Rows0
Data Space Used0.00 KB
Index Space Used0.00 KB
Columns
 Column NameDescriptionDatatypeLengthAllow NullsDefaultFormula
Primary Key Unique system-generated sequential identifier for the activity record.int4   
 Unique system-generated sequential identifier of the sub-activity's parent record.int4  
 

Codes that represent the activity type.

For a complete list of codes, see tActivityType Table

varchar10   
 

Code that identifies the current stage of the activity. 

For a complete list of codes, see tActivityStage Table.

tinyint1   
 

Identifier for the current stage of the parent activity. Used only for sub-activities, such as a Data Quality analysis.

For a complete list of codes, see tActivityStage Table.

tinyint1  
 Name of the activity.varchar255  
 

Code that represents the status of an activity. Note: Use this code, not AnalysisStatusCode, to determine the status of an analysis.

For a complete list of codes, see tActivityStatus Table.

varchar10   
 

Code that represents the status of the activity's results.

For a complete list of codes, see tActivityResultStatus Table.

smallint2 
((0))
 
 Sequence number of the activity.tinyint1  
 User that initiated the activity.varchar255  
 

Unique system-generated sequential identifier of the analysis instance. Used when the activity is associated with an analysis record.

For a complete list of records, see tAnalysis Table.

int4  
 

Unique system-generated sequential identifier for the project record.  

For a complete list of records, see tProject Table.

int4  
 Unique system-generated sequential identifier for the business unit record.int4 
((1))
 
 

System-provided status code for the record in the table.

For a complete list of codes, see tStatus Table.

varchar10 
('A')
 
 Date and time when the activity was created.datetime4 
(getutcdate())
 
 Date and time when the activity began execution.datetime4  
 

Date-time of when analysis results were generated.

datetime4  
 Total progress weight of the activity's current stagesmallint2  
 Percentage of the activity that has completed.smallint2  
 System-assigned identifier for a job submitted to the HPC server.int4  
 Name of the HPC server processing the job.varchar255  
 Any additional message provided by HPC.varchar1000  
 User-provided description of the activity.varchar16  
 XML expression for the additional options specified to the HPC server by any activity. Used internally by Touchstone.xml0  
 

Indicates whether the log files have been aggregated, or if they still need to be aggregated.

  • 1 = Yes (aggregated)
  • 0 = No (need to be aggregated)
bit1 
((0))
 
 Unique, system-generated identifier for the activity. Used for creating staging tables in the work database.uniqueidentifier16 
(newid())
 
 Database-stamped date and time when the activity was created.datetime4  
 

Code that identifies the priority level assigned to the activity.

Jobs with higher priority take precedence over jobs with lower priority as long as the jobs are in queued state in the following order, Top Priority > High Priority > Normal Priority > Low Priority. Jobs that are already running will not be stopped and re-queued to start a higher priority job that is waiting.

For a complete list of codes, see dbo.tHPCJobPriorityType Table.

varchar25 
('Normal')
 
 

Code that identifies whether the activity was complete on premise or in the cloud.

For a complete list of codes, see dbo.tActivityResourceType Table.

varchar15 
('OnPremises')
 
 

Code that defines whether HPC is to process the parent activity when a child activity fails.

For a complete list of codes, see dbo.tActivityFailureAction Table.

varchar10  
 Date and time when the activity was modified.datetime4 
(getutcdate())
 
 

XML response from the HPC server.

Used internally by Touchstone.

xml0  
Objects that depend on tActivity
 Database ObjectObject TypeDescriptionDep Level
tActivityOutput tabletActivityOutputTable

Stores the identifier, status, and the file path for the output of each activity.

An activity can include one or more tasks. Consequently, an activity output is a logical grouping of one or more task outputs.

2
tActivityOutputDetail tabletActivityOutputDetailTable

Stores information about the task outputs of each activity output.

The application writes to the table during each task.

3
Objects that tActivity depends on
 Database ObjectObject TypeDescriptionDep Level
tAnalysis tabletAnalysisTableStores information about each analysis.1
tExposureSet tabletExposureSetTableStores exposure set information from each exposure database on the server.3
See Also

Related Objects

AIRProject Database