Retire legacy Lifecycles
Retire the legacy Lifecycles feature after upgrading to YouDesign Command v26.1, after moving its definitions and dated phases into Command. Skip this if you are using Full Cleanup.
Retires the legacy Lifecycles implementation. The new Lifecycle replaces it. Follow Upgrade from v26.0 to v26.1 first.
Steps
1. Migrate the data
In Command, click Open menu (☰), expand Migration and choose Lifecycles.
Click Migrate on Definitions and phases and wait for 100%.
Click Migrate on Lifecycle data and wait for 100%. On a large instance you can click Stop after this batch and run it again later; it continues where it left off.
Optional: to see the Command lifecycle on forms before the cleanup, click Switch to Command on Forms show Command. Revert to legacy switches forms back.
Each finished step is marked Done, and its button then reads Re-check. Rows that can never be written are counted under Cannot be written and count as done. The top of the page reads Ready for legacy cleanup once every step is done, or how many steps are left. A record already migrated is never written twice, so running it again is safe.
Forms show Command sets the global setting lifecycle.form_visualization.use_command (true shows the Command lifecycle, false the legacy one). The setting only works until the cleanup: once the legacy lifecycle tables are gone, forms always show the Command lifecycle.
2. Commit the update set
First, check Logic Preservation. In Retrieved Update Sets, look for YCM V26.1 Legacy Logic Preservation with the state Committed.
If it is already committed, for example because you retired another feature first, do not commit it again. Committing it again turns the shared Lifecycles and Measures calculation jobs back on, even ones you deleted by hand. If it is not there, or not yet committed, commit it now:
The cleanup set deletes the legacy x_inpgh_upmx.lfc_editor role. Before you commit it, give everyone who holds that role Command Editor (x_inpgh_upmx.editor): Command Editors now change lifecycles. See Roles the cleanup removes.
Then commit YCM V26.1 Legacy Lifecycle Cleanup. Skip this set if you are using Full Cleanup.
The set keeps the UPMX Lifecycle Visualization form widget: the UPMXLifecycleVisualization UI macro and its UI formatter. From the cleanup on, that widget shows the Command lifecycle.
The set also removes the chart colours defined for the legacy lifecycle fields, such as internal lifecycle, on the Command tables.
3. Delete 8 scheduled jobs
The set switches these jobs off but cannot delete them. In System Definition > Scheduled Jobs, delete each one:
The last job is shared: it goes only because this cleanup removes the days to EOL and days in production fields it fills. If you keep Lifecycles, it keeps running.
4. Delete one global setting
Delete lifecycle.MaxYearLimit from the YouDesign Command global settings (x_inpgh_upmx_global_settings).
5. Remove the Lifecycles form sections
Open
https://<instance>.service-now.com/sys_ui_form_section_list.do?sysparm_query=sys_ui_section.caption%3DLifecycles. Review each section listed before you delete it: the search matches the section name on every form, so a section with the same name on another form that still needs it can appear too. Delete only the sections that belong to legacy Lifecycles.Clear the cache: open
https://<instance>.service-now.com/cache.do.
Anything left behind shows as an empty block on the form.
6. Delete the realtime indicators on removed fields
Open https://<instance>.service-now.com/x_inpi_yd_realtime_indicator_list.do?sysparm_query=source_fieldINinternal_lifecycle%2Cx_inpgh_upmx_internal_lifecycle%2Cstandards_lifecycle%2Cmanufacturer_lifecycle%2Cx_inpgh_upmx_manufacturer_lifecycle and delete the indicators listed.
7. Remove the Lifecycles tab from Admin Settings
The Admin Settings page of the YouDesign Command (UPMX) experience still has a Lifecycles tab for the legacy feature. The update set leaves the page alone, so it works whichever features you keep.
In the filter navigator, open UI Builder.
Open the Experiences tab.
Search for YouDesign Command (UPMX) and open it.
Expand Admin Settings and click Default.
In the content tree, select the Lifecycles tab.
In the right panel, click Tabs, then Go to Tabs.
Click the settings icon on the Lifecycles tab, then click Delete.
Click Save.
Check it worked
None of the 8 Lifecycle jobs is left in Scheduled Jobs.
The Admin Settings page of the YouDesign Command (UPMX) experience has no Lifecycles tab.
The Lifecycles tab is gone from the Business Application form, with no empty block left.
Forms that showed the legacy lifecycle visualization now show the Command lifecycle.
Lifecycles in Command still show as before.
Related
Last updated