Show TOC

Function documentationMDO Lifecycle Locate this document in the navigation structure

 

You use this function to define the lifecycle of the data that is persisted for a persistent manufacturing data object (MDO).

Features

You can define tasks to update, replace, or delete the persisted data. You can define one or more tasks for an object.

You can configure your MDO's lifecycle with the following properties:

Property

Description

Name

The task name

Description

Describes the task

Enabled

Checkbox that indicates whether a task is enabled for execution or not. To enable all tasks, you can click the Enable All button. To disable all tasks, you can click the Disable All button.

Credential Alias

To authorize the execution of a task, you must specify a valid credential alias. For more information about credentials, see Using Credential Stores.

Pattern

You can click the clock button to open the Pattern Editor screen where you define the schedule for running the task. You can schedule a task to run daily, hourly, weekly, monthly, and so on.

For more information, see Selecting a Pattern.

Mode

You can configure the task to do one of the following to the persisted data:

  • Replace

    When the MDO data provider is executed, the persisted data is deleted and replaced by the resulting data set.

  • Update

    When the MDO data provider is executed, the persisted data is updated with the resulting data set, which is based on the key attributes for the MDO.

  • Delete

Inputs

The Inputs tab allows you to specify filter values for MDO attribute parameters, which are used when the task is executed. This function allows you to update, replace, or delete certain records in the persisted data.

Postexecution

When the task is complete, you can execute a transaction. You specify this transaction on the Postexecution tab. You can click the Load button to find the transaction. You can also enter values for input parameters for the transaction.

Delete Query

On the Delete Query tab, you can specify an existing MDO delete query to be used by your delete task.

When you add new tasks and edit them, they are not written to the Scheduler screen until you click Deploy All.

Activities

To execute a selected task, you can click the Run button.

To update the lifecycle, use the Scheduler screen.