{"id":6230,"date":"2024-12-02T03:14:07","date_gmt":"2024-12-02T08:14:07","guid":{"rendered":"https:\/\/blogs.sw.siemens.com\/polarion\/?p=6230"},"modified":"2026-03-26T05:44:47","modified_gmt":"2026-03-26T09:44:47","slug":"how-save-and-delete-hooks-help-the-wishlist-assessment-center","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/polarion\/how-save-and-delete-hooks-help-the-wishlist-assessment-center\/","title":{"rendered":"How Save and Delete Hooks help the Wishlist Assessment Center"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h3 class=\"wp-block-heading\">02 December 2024<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Polarion Advent Calendar - Dec 02: How Save and Delete Hooks help the Wishlist Assessment Center\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/Yo49rw0j6Fw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><span data-contrast=\"auto\">Since the Wishlist Assessment Center worked well in Polarion last year, its features have been further extended.<\/span><span data-ccp-props=\"{}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The children still submit their wishes as a Polarion LiveDoc, where every wish is a work item.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Before the presents can be produced, the wish list must be accepted in an assessment center.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Like last year, the elves need to provide a comment when they decline a wish list due to the RequireCommentForDeclinedSignature save hook added by elf Kevin.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">To reduce the workload of the assessment center, elf Kevin implemented the AutomaticallyProceedToNextStatus save hook that changes the status of the wish list to Accepted once an elf has signed off.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Afterward, the elves need to document the production steps for each wish.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Since they don&#8217;t want to number the production steps manually, they asked elf Kevin to implement the TableRowNumberer save hook to number the steps automatically.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The elves sometimes use hyperlinks to reference other wishes in the production steps. Since the hyperlinks don&#8217;t provide full bidirectional traceability, elf Kevin also created the Hyperlinks2LinkedWorkItems save hook to sync the hyperlinks in the table with the linked work items section.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Last year, an elf with admin access accidentally deleted a wish. Since none of the wishes must get lost, elf Kevin added the PreventDeletion delete hook to ensure that not even admins can delete wishes or complete wish lists.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">In the good spirit of Christmas, elf Kevin shared the hooks with the Polarion community.\u00a0<\/span><\/p>\n<p><span class=\"TextRun SCXW156862846 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW156862846 BCX8\">They are available at:\u00a0<\/span><\/span><\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/extensions.polarion.com\/extensions\/471-save-delete-hook-package-for-interceptor-manager\" target=\"_blank\" rel=\"noreferrer noopener\">Hooks<\/a><\/div>\n<\/div>\n\n\n\n<p><span class=\"TextRun SCXW42461389 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW42461389 BCX8\">If you want to contact elf Kevin, you can write him an email: <\/span><\/span><a class=\"Hyperlink HyperlinkGateOff SCXW42461389 BCX8\" href=\"mailto:kevin.schmiechen@tum.de\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined UnderlinedGateOff SCXW42461389 BCX8\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW42461389 BCX8\">kevin.schmiechen@tum.de<\/span><\/span><\/a><span class=\"EOP SCXW42461389 BCX8\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Special Thanks to Kevin Schmiechen from TUM!\u00a0<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>02 December 2024 Since the Wishlist Assessment Center worked well in Polarion last year, its features have been further extended.\u00a0&#8230;<\/p>\n","protected":false},"author":98384,"featured_media":6347,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[],"industry":[],"product":[],"coauthors":[2336],"class_list":["post-6230","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"featured_image_url":"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/4\/2024\/12\/Screenshot-2024-12-16-120816.png","_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/6230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/users\/98384"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/comments?post=6230"}],"version-history":[{"count":4,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/6230\/revisions"}],"predecessor-version":[{"id":6405,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/6230\/revisions\/6405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/media\/6347"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/media?parent=6230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/categories?post=6230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/tags?post=6230"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/industry?post=6230"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/product?post=6230"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/coauthors?post=6230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}