Retire legacy measures (Cost and KPI)
Retire the legacy Cost and KPI feature after upgrading to YouDesign Command v26.1, after moving the cost and KPI history into Measures.
Retires the legacy Cost and KPI implementation. The new Measures 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 Measures.
Click Migrate definitions and wait for 100%. Fix anything a warning card asks for first, such as an instance currency that is not set.
Click Migrate values and wait for 100%, with nothing left to write, stale to remove or that cannot be written.
Click Re-check on both steps right before step 2 of this page, to catch anything added since. Running it again is safe.
The Measures migration stays available until the legacy tables are gone, so it can be run again if the update set is ever backed out.
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:
Then commit YCM V26.1 Legacy Measures Cleanup. Skip this set if you are using Full Cleanup.
Then open a record's Measures in Command and check its cost history is there before you go further. If it is missing, the migration did not run first: back out the Measures set, check the legacy tables are back, run the Measures migration, then commit the set again. If the legacy rows are gone, restore from your backup.
3. Delete 2 scheduled jobs
The set switches these shared jobs off because the data they read is gone. In System Definition > Scheduled Jobs, delete:
YCM CAL Set Cost CalculationsYCM CAL Set User Count
If you keep Cost and KPI, both keep running.
4. Delete the realtime indicators on removed fields
Open https://<instance>.service-now.com/x_inpgh_upmx_pf_indicators_list.do?sysparm_query=fieldLIKEopex%5EORfieldLIKEcapex. The search matches on part of the field name, so review each indicator before deleting it.
5. Remove the Costs and KPIs form sections
Open each list below. 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 Cost and KPI.
https://<instance>.service-now.com/sys_ui_form_section_list.do?sysparm_query=sys_ui_section.caption%3DCostshttps://<instance>.service-now.com/sys_ui_form_section_list.do?sysparm_query=sys_ui_section.caption%3DKPIs
Remove the cost related lists from the forms that still show them. Until they go, the Cost tab can show empty.
Clear the cache: open
https://<instance>.service-now.com/cache.do.
Check it worked
Cost and KPI values show in Command's Measures.
The Costs and KPIs tabs are gone from the Business Application form.
No realtime indicator still refers to an opex or capex field.
Good to know
The set removes nine cost fields on Portfolio Element (
x_inpgh_upmx_portfolio_element), such as opex per user. Their values on child tables are expected to go with them; check this on a test instance first.
Related
Last updated