Skip to content

Commit 7f718af

Browse files
seanmcnearorashivam96Copilot
authored
Add org db settings for automated system jobs cleanup using deletion … (#142)
* Add org db settings for automated system jobs cleanup using deletion service. (#141) * Add org db settings for automated system jobs cleanup using deletion service * Update min max values * Update buildsolution.yml Updated github build scripts to support build on PR's --------- Co-authored-by: arorashivam96 <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 53801ca commit 7f718af

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

.github/workflows/buildsolution.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: GitHub Actions OrgDbOrgSettings Build
22
run-name: ${{ github.actor }} is building the OrgDbOrgSettings solution 🚀
3-
on: [push]
3+
on:
4+
push:
5+
pull_request:
6+
types: [opened, synchronize, reopened]
47
jobs:
58
Build-OrgDbOrgSettings-GitHub-Actions:
69
runs-on: windows-latest

mspfedyn_/OrgDbOrgSettings/Solution/WebResources/mspfedyn_/OrgDbOrgSettings/Settings.xml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,52 @@
238238
supportUrl="https://learn.microsoft.com/en-us/power-platform/admin/create-users#how-stub-users-are-created"
239239
urlTitle="Create users - How stub users are created"
240240
description="When set to 'true', the standard behavior will be overriden and a default security role will NOT automatically be assigned to newly created stub users." />
241+
<orgSetting
242+
minSupportedVersion="9.2.25053.00220"
243+
maxSupportedVersion="9.9.9999.9999"
244+
name="SucceededSystemJobPersistenceInDays"
245+
isOrganizationAttribute="false"
246+
min="0"
247+
max="90"
248+
defaultValue="30"
249+
settingType="Number"
250+
supportUrl="https://support.microsoft.com/kb/2691237"
251+
urlTitle="KB 2691237"
252+
description="Retention period for successfully completed system jobs. System jobs older than the retention period will be cleaned by backend deletion service." />
253+
<orgSetting
254+
minSupportedVersion="9.2.25053.00220"
255+
maxSupportedVersion="9.9.9999.9999"
256+
name="FailedSystemJobPersistenceInDays"
257+
isOrganizationAttribute="false"
258+
min="0"
259+
max="180"
260+
defaultValue="60"
261+
settingType="Number"
262+
supportUrl="http://support.microsoft.com/kb/2691237"
263+
urlTitle="KB 2691237"
264+
description="Retention period for failed system jobs. System jobs older than the retention period will be cleaned by backend deletion service." />
265+
<orgSetting
266+
minSupportedVersion="9.2.25053.00220"
267+
maxSupportedVersion="9.9.9999.9999"
268+
name="CanceledSystemJobPersistenceInDays"
269+
isOrganizationAttribute="false"
270+
min="0"
271+
max="180"
272+
defaultValue="60"
273+
settingType="Number"
274+
supportUrl="http://support.microsoft.com/kb/2691237"
275+
urlTitle="KB 2691237"
276+
description="Retention period for canceled system jobs. System jobs older than the retention period will be cleaned by backend deletion service." />
277+
<orgSetting
278+
minSupportedVersion="9.2.25053.00220"
279+
maxSupportedVersion="9.9.9999.9999"
280+
name="EnableSystemJobCleanup"
281+
isOrganizationAttribute="false"
282+
min=""
283+
max=""
284+
defaultValue="false"
285+
settingType="Boolean"
286+
supportUrl="http://support.microsoft.com/kb/2691237"
287+
urlTitle="KB 2691237"
288+
description="Online only setting to enable System Job cleanup from the backend deletion service." />
241289
</defaultOrgSettings>

0 commit comments

Comments
 (0)