Hi Jim,
Hope you are well, long time no speak!
The unrelation bulk loader will allow you to upload a list of relationship IDs (the specific relationship between 2 assets) and remove them from Govern.
This can be used if you have a long list of related things that are no longer related in the business. Lets take an example of "Clients" and "Reports". Perhaps you have a long list of client taking a given report or set of reports but then some business change means those clients no longer take those reports.
The report and the client still need to exist in your govern environment but the relationship between them in the thing that need breaking. That's what the unrelation bulk load is for.
Also for the load template for the bulk deletion - the easiest thing to do is do an export and the record you want to delete and then use a very basic excel formula on the far right of the data to create a number of row of JSON you can then copy and paste into the Swagger front end (via Intergration --. API) and test it.
That way you don't need to build an Analyze flow or worry about authentication or anything, just that Excel formula.
The payload look like this:
[
{
"Uid": "00000000-0000-0000-0000-000000000000",
"Cascade": true
}
]
1st of all, swap the double quotes for single quotes to make the Excel formula easy and make it a single row and remove the square brackets
Like this: { 'Uid': '00000000-0000-0000-0000-000000000000', 'Cascade': true }
Then create the excel formula to look at the UID for the record you want to delete and then you can copy in down
Like this: ="{ 'Uid': '" & cellwithrecordUID &"', 'Cascade': true }"
Once you copy in down you'll get lots rows look the same, highlight all the formulas and paste into the Swagger screen.
You'll need to add your square bracket back at the start and end "[" and "]"
Then just add the Type UID of the type of records you want to delete in the Type UID box
and then press "Test" and it will delete the record for you
------------------------------
John Taylor
EXPERIAN LTD-UK
------------------------------
Original Message:
Sent: 04-05-2023 17:11
From: James Holloway
Subject: Use Bulk Uploader to delete records
Would like to add my 'vote' towards having an option in the bulk loader to delete records. Ideally with an option to automatically cascade those deletes to any related objects.
But in the meantime - could someone explain to me what the 'unrelation' option in the bulk loader does? I couldn't find anything in doc.
Thanks, Jim
------------------------------
James Holloway
Experian US
ALLEN TX
Original Message:
Sent: 07-29-2020 07:51
From: Gerard Cafaro
Subject: Use Bulk Uploader to delete records
Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Hello Oliver,
We have created Enhancement request regarding the issue with Bulk load Delete functionality and our Product Management team is reviewing your request.