Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Enable or Disable Deleted List Items feature for a Repository

Enable or Disable Deleted List Items feature for a Repository

  • Last UpdatedJul 25, 2023
  • 3 minute read

This section explains how to enable or disable the Deleted List Items at the repository level.

Default Behavior of Repositories Created in AVEVA Work Tasks

In AVEVA Work Tasks, Deleted List Items will be enabled by default for a repository that is created. Whenever any list item of any list type is deleted, a new list item is added to the Deleted List Items under the respective folder.

Note: For a fresh installation of AVEVA Work Tasks, the Deleted List Items is enabled by default. However, after upgrading an existing installation of AVEVA Work Tasks, the Deleted List Items feature is disabled by default.

How to Check Whether Deleted List Items is Enabled or Disabled for a Repository?

To check whether Deleted List Items is Enabled or Disabled for a Repository verify the Properties Column (properties collection) of SKRepository table in the Farm Database. When the value of the property key "isDeletedListItemsTraceEnabled" is True, Deleted List Items is enabled for the repository. If the value of the key is False, Deleted List Items is disabled for the repository.

For example, find below the Properties column (properties collection) data for a repository.

<properties>

<property key="sourceelements">

<![CDATA[WORKFLOWELEMENTS\Default]]>

</property>

<property key="fromemail"><![CDATA[admin@domain.com]]></property>

<property key="toemail"><![CDATA[admin@domain.com]]></property>

<property key="alertuser"><![CDATA[False]]></property>

<property key="filewatcher"><![CDATA[]]></property>

<property key="enablelock"><![CDATA[True]]></property>

<property key="isadminconfigured"><![CDATA[True]]></property>

<property key="isDeletedListItemsTraceEnabled"><![CDATA[True]]></property>

<property key="theme"><![CDATA[Default]]></property>

</properties>

The line highlighted in red in the above code, is used to identify whether Deleted List Items is enabled or disabled for a repository. In this line, you can identify the following:

<property>

Defines the property tag

key

Attribute of property tag, describes the property name (isDeletedListItemsTraceEnabled is name of the property)

<![CDATA[True]]>

It is the value of the property (True- Deleted List Items is enabled)

</property>

Closing tag of property

Enabling Deleted List Items for a repository

In AVEVA Work Tasks, once you create a repository, Deleted List Items will be enabled by default for that repository.

If you want to enable Deleted List Items for a repository, then open the SKRepository table in the Farm Database and find out the required repository entry (row). In that specific row in properties column data (properties collection) find out the isDeletedListItemsTraceEnabled key and update the <![CDATA[False]]> to <![CDATA[True]]>.

If the isDeletedListItemsTraceEnabled key is not found for a repository entry in the properties column then add the following line between <properties> & </properties> tags.

<property key="isDeletedListItemsTraceEnabled"><![CDATA[True]]>

</property>

Now Deleted List Items will be enabled for that repository. If you want to enable Deleted List Items for another repository perform the steps mentioned above.

Disabling Deleted List Items for a repository

In AVEVA Work Tasks, once you create a repository Deleted List Items will be enabled by default for that repository.

If you want to disable Deleted List Items for a repository, for which the Deleted List Items is already enabled, then open the SKRepository table in the Farm Database and find out the required repository entry (row). In that specific row, in properties column data (properties collection) find out the isDeletedListItemsTraceEnabled key and update the <![CDATA[True]]> to <![CDATA[False]]>.

If the isDeletedListItemsTraceEnabled key is not found for a repository entry in the properties column, then add the following line between <properties> & </properties> tags in case if you want to enable Deleted List Items in future.

<property key="isDeletedListItemsTraceEnabled"><![CDATA[False]]>

</property>

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in