Customizing Operator Advisor > Services in Operator Advisor > Pre-Action Validator Thing Shape Services
Pre-Action Validator Thing Shape Services
The following services are found on the pre-action validator Thing Shape (PTC.SCA.SCO.PreActionValidatorThingShape):
* 
For more information on how these services interact, see Pre- and Post-Action Event Dispatching and Validation.
EnumerationValidation—Validates whether a work definition execution status exists in the PTC.SCA.SCO.WorkDefinitionExecutionStatus table. If valid, the action is allowed to complete. If invalid, an error is generated and the action does not complete. Called by the ValidateWorkDefinitionExecutionStatus service.
Input parameters:
EnumerationInfoTable (INFOTABLE)
Value (STRING)
Output: No output
PreCreateAction—Executes validations on data before it is created. Triggered by a create action. Calls the CallServices service.
Input parameters: DataChanges (INFOTABLEPTC.SCA.SCO.DataChange Data Shape)
Output: No output
PreUpdateAction—Executes validations on data before it is updated. Triggered by an update action. Calls the CallServices service.
Input parameters: DataChanges (INFOTABLEPTC.SCA.SCO.DataChange Data Shape)
Output: No output
PreDeleteAction—Executes validations on data before it is deleted. Triggered by a delete action. Calls the CallServices service.
Input parameters: DataChanges (INFOTABLEPTC.SCA.SCO.DataChange Data Shape)
Output: No output
ValidateWorkDefinitionExecutionStatus—Called by the WorkDefinitionPreCreate or WorkDefinitionPreUpdate services. For each work definition being created or updated, this service passes the specified work definition execution status to EnumerationValidation service.
Input parameters: DataChanges (INFOTABLEPTC.SCA.SCO.DataChange Data Shape)
Output: No output
WorkDefinitionPreCreate—Called by the CallServices service. Calls the ValidateWorkDefinitionExecutionStatus service.
Input parameters: DataChanges (INFOTABLEPTC.SCA.SCO.DataChange Data Shape)
Output: No output
WorkDefinitionPreUpdate—Called by the CallServices service. Calls the ValidateWorkDefinitionExecutionStatus service.
Input parameters: DataChanges (INFOTABLEPTC.SCA.SCO.DataChange Data Shape)
Output: No output
Was this helpful?