Suppose you are building MDM hub and Active VOS components e.g. configuration of Merge tasks or Update tasks. During the development phase, you may come across a situation when you may want to delete all the tasks. You can use Active VOS console and delete one task at a time or group of tasks at a time. But you cannot delete all the tasks in a single action using Active VOS console. In such a case, how can we delete all the tasks? In this article, we are going to see a simple and easy way of deleting all the tasks.
1. AeProcessJournal
2. AeProcess
3.AeProcessLogData
As part of deleting all the tasks, we need to deal with these tables.
DELETE FROM AVOS.AeProcessJournal table WHERE ProcessId IN (SELECT ProcessId FROM AVOS.AeProcess);
COMMIT;
DELETE FROM AVOS.AeProcessLogData WHERE ProcessId in (SELECT ProcessId FROM AVOS.AeProcess);
COMMIT;
DELETE FROM AVOS.aeprocess;
COMMIT;
You can download bpr file to delete orphan tasks and deploy it as a workflow in the ActiveVOS console. The details available at Informatica KB
Are you interested in knowing more about AVOS then you can refer to this video?
Tables involved in the Active VOS tasks:
There are 3 tables in AVOS schema which maintains the tasks related details and these tables are1. AeProcessJournal
2. AeProcess
3.AeProcessLogData
As part of deleting all the tasks, we need to deal with these tables.
Delete records from AeProcessJournal:
First, delete records from AeProcessJournal using the delete statement below.DELETE FROM AVOS.AeProcessJournal table WHERE ProcessId IN (SELECT ProcessId FROM AVOS.AeProcess);
COMMIT;
Delete records from AeProcessLogData:
Then, delete records from AeProcessLogData table using the delete statement below.DELETE FROM AVOS.AeProcessLogData WHERE ProcessId in (SELECT ProcessId FROM AVOS.AeProcess);
COMMIT;
Delete records from AeProcess:
Finally, delete records from AeProcess table using the delete statement below.DELETE FROM AVOS.aeprocess;
COMMIT;
How to delete orphan task:
You can download bpr file to delete orphan tasks and deploy it as a workflow in the ActiveVOS console. The details available at Informatica KB
Are you interested in knowing more about AVOS then you can refer to this video?
No comments:
Post a Comment
Please do not enter any spam link in the comment box.