<?xml version="1.0" encoding="UTF-8"?><unload unload_date="2026-10-26 01:35:56">
<sys_remote_update_set action="INSERT_OR_UPDATE">
<application display_value="Global">global</application>
<application_name>Global</application_name>
<application_scope>global</application_scope>
<application_version/>
<collisions/>
<commit_date/>
<deleted/>
<description>PKIFactor catalogue integration: Script Include, catalog items and variables, client script, business rule, scheduled retry job, ticket feedback REST API, properties (values to adapt). Credentials are NOT included.</description>
<inserted/>
<name>PKIFactor - Catalog integration 1.0</name>
<origin_sys_id/>
<parent display_value=""/>
<release_date/>
<remote_base_update_set display_value=""/>
<remote_parent_id/>
<remote_sys_id>6b1ef657c3c41310acaaf64d050131a0</remote_sys_id>
<state>loaded</state>
<summary/>
<sys_class_name>sys_remote_update_set</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>b27e3697c3c41310acaaf64d05013145</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<update_set display_value=""/>
<update_source display_value=""/>
<updated/>
</sys_remote_update_set>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_7f23261bc3c01310acaaf64d050131b1</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Request a certificate"&gt;6723261bc3c01310acaaf64d05013123&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value/&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;false&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;san&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;400&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Subject alternative names (SAN), comma-separated&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference/&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;7f23261bc3c01310acaaf64d050131b1&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Subject alternative names (SAN), comma-separated&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_7f23261bc3c01310acaaf64d050131b1&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:42&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;6&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=7f23261bc3c01310acaaf64d050131b1"/&gt;&lt;fx_price action="delete_multiple" query="id=7f23261bc3c01310acaaf64d050131b1"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;7f23261bc3c01310acaaf64d050131b1&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;b323261bc3c01310acaaf64d050131d5&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;7f23261bc3c01310acaaf64d050131b1&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;3723261bc3c01310acaaf64d050131d4&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>1647334478</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>327e3697c3c41310acaaf64d05013148</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823160000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Subject alternative names (SAN), comma-separated</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>3f1ef657ebc41310cdf4828a074fcfe9</update_guid>
<update_guid_history>3f1ef657ebc41310cdf4828a074fcfe9:1647334478,00367ad3ea841310bd18438c0adf8984:1647334478,b723261b40c0131041ed93c383ae35d9:251028564</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_c033661bc3c01310acaaf64d0501319e</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Revoke a certificate"&gt;cc33661bc3c01310acaaf64d05013164&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value/&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;id_certificat&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;200&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Certificate number in PKIFactor&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference/&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:41&lt;/sys_created_on&gt;&lt;sys_id&gt;c033661bc3c01310acaaf64d0501319e&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Certificate number in PKIFactor&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_c033661bc3c01310acaaf64d0501319e&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:43&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;6&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=c033661bc3c01310acaaf64d0501319e"/&gt;&lt;fx_price action="delete_multiple" query="id=c033661bc3c01310acaaf64d0501319e"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;c033661bc3c01310acaaf64d0501319e&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:41&lt;/sys_created_on&gt;&lt;sys_id&gt;0833661bc3c01310acaaf64d050131a8&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:41&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;c033661bc3c01310acaaf64d0501319e&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:41&lt;/sys_created_on&gt;&lt;sys_id&gt;8833661bc3c01310acaaf64d050131a7&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:41&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>314886081</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>367e3697c3c41310acaaf64d05013149</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d8236d0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Certificate number in PKIFactor</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>3f1ef657fec41310fb6ff23b836ba4f4</update_guid>
<update_guid_history>3f1ef657fec41310fb6ff23b836ba4f4:314886081,1036bad35f841310b947185be840d04b:314886081,0c33661bbfc01310c83e3a7a6ddc8aac:309075225</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sc_cat_item_b723261bc3c01310acaaf64d050131fd</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sc_cat_item"><sc_cat_item action="INSERT_OR_UPDATE"><access_type>restricted</access_type><active>true</active><availability>on_desktop</availability><billable>false</billable><category display_value="Certificates (PKIFactor)">2323261bc3c01310acaaf64d0501311a</category><cc_render_type>system</cc_render_type><checked_out/><cost>0</cost><custom_cart/><delivery_plan/><delivery_plan_script/><delivery_time>1970-01-03 00:00:00</delivery_time><description/><display_price_property>non_zero</display_price_property><entitlement_script/><flow_designer_flow/><fulfillment_automation_level>unspecified</fulfillment_automation_level><group/><hide_sp>false</hide_sp><icon/><ignore_price>true</ignore_price><image/><location/><make_item_non_conversational>false</make_item_non_conversational><mandatory_attachment>false</mandatory_attachment><meta/><mobile_hide_price>false</mobile_hide_price><mobile_picture/><mobile_picture_type>use_desktop_picture</mobile_picture_type><model/><name>Renew a certificate</name><no_attachment_v2>false</no_attachment_v2><no_cart>true</no_cart><no_cart_v2>true</no_cart_v2><no_delivery_time_v2>false</no_delivery_time_v2><no_order>false</no_order><no_order_now>false</no_order_now><no_proceed_checkout>false</no_proceed_checkout><no_quantity>true</no_quantity><no_quantity_v2>true</no_quantity_v2><no_save_as_draft>true</no_save_as_draft><no_search>false</no_search><no_wishlist_v2>false</no_wishlist_v2><omit_price>false</omit_price><order>0</order><ordered_item_link/><owner display_value="System Administrator">6816f79cc0a8016401c5a33be04be441</owner><picture/><preview>JavaScript: popupOpenStandard("com.glideapp.servicecatalog_cat_item_view.do?v=1&amp;sysparm_id=b723261bc3c01310acaaf64d050131fd&amp;sysparm_preview=true", "summary");</preview><price>0</price><published_ref/><recurring_frequency/><request_method/><roles/><sc_catalogs>e0d08b13c3330100c8b837659bba8fb4</sc_catalogs><sc_ic_item_staging/><sc_ic_version/><sc_template/><short_description>Renewal of a PKIFactor certificate (new CSR)</short_description><show_variable_help_on_load>false</show_variable_help_on_load><start_closed>false</start_closed><state/><sys_class_name>sc_cat_item</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:40</sys_created_on><sys_id>b723261bc3c01310acaaf64d050131fd</sys_id><sys_mod_count>11</sys_mod_count><sys_name>Renew a certificate</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sc_cat_item_b723261bc3c01310acaaf64d050131fd</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-26 01:13:39</sys_updated_on><taxonomy_topic/><template/><template_manager_roles/><type>item</type><use_sc_layout>true</use_sc_layout><vendor/><version>11</version><visible_bundle>true</visible_bundle><visible_guide>true</visible_guide><visible_standalone>true</visible_standalone><workflow/></sc_cat_item><sys_translated_text action="delete_multiple" query="documentkey=b723261bc3c01310acaaf64d050131fd"/><fx_price action="delete_multiple" query="id=b723261bc3c01310acaaf64d050131fd"/><fx_price action="INSERT_OR_UPDATE"><amount>0</amount><currency display_value="USD">USD</currency><field>price</field><id>b723261bc3c01310acaaf64d050131fd</id><parent/><reference_amount>0</reference_amount><reference_currency display_value="USD">USD</reference_currency><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:40</sys_created_on><sys_id>7b23661bc3c01310acaaf64d0501310c</sys_id><sys_mod_count>0</sys_mod_count><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-25 23:36:40</sys_updated_on><table>sc_cat_item</table><type>calculated</type></fx_price></record_update>]]></payload>
<payload_hash>1425539934</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>3a7e3697c3c41310acaaf64d0501314a</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d8226e0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Renew a certificate</target_name>
<type>Catalog Item</type>
<update_domain>global</update_domain>
<update_guid>b71ef6573ec413106fdc5226becbcad4</update_guid>
<update_guid_history>b71ef6573ec413106fdc5226becbcad4:1425539934,2c69f2dbe5841310d5c91cd977f42cb9:1425539934,5036bad3f48413106d73d08c412c7f0e:-610626054,14367ad3e1841310aaf1ae184a23d4fd:-830937284,d4367ad382841310fbfd2f7f9f35e5ec:873693563,90367ad3f5841310d378aa84289153e1:-1716642886,1e06f2d3678413105490efb578968201:-308822471,303b2e5b1304131015759dc620de2a63:1157698727,0033661b86c01310933c28779891b15b:-1409454310,7323661bc3c01310e43196d53d9f5d4a:295176537,bf23661be0c01310bf84f58d45c5e738:1999807384,3b23661b7bc01310af39539307ffbb25:-590529065,f723661b4cc01310b002156e7e42d62f:360513209</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_0033661bc3c01310acaaf64d050131af</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Revoke a certificate"&gt;cc33661bc3c01310acaaf64d05013164&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value/&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;motif&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;300&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Revocation reason&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference/&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:41&lt;/sys_created_on&gt;&lt;sys_id&gt;0033661bc3c01310acaaf64d050131af&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Revocation reason&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_0033661bc3c01310acaaf64d050131af&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:43&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;2&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=0033661bc3c01310acaaf64d050131af"/&gt;&lt;fx_price action="delete_multiple" query="id=0033661bc3c01310acaaf64d050131af"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;0033661bc3c01310acaaf64d050131af&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:41&lt;/sys_created_on&gt;&lt;sys_id&gt;c433661bc3c01310acaaf64d050131b9&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:41&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;0033661bc3c01310acaaf64d050131af&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:41&lt;/sys_created_on&gt;&lt;sys_id&gt;4833661bc3c01310acaaf64d050131b8&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:41&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>1247530921</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>3e7e3697c3c41310acaaf64d05013146</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d822ca0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Revocation reason</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>bb1ef657c3c41310a9575c7db5d62bde</update_guid>
<update_guid_history>bb1ef657c3c41310a9575c7db5d62bde:1247530921,5c36bad38384131000410fbe9f7eb75b:1247530921,c833661ba2c0131030918ecf928d07bd:1893198143</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_properties_6f26f6d3c3841310acaaf64d05013124</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_properties"><sys_properties action="INSERT_OR_UPDATE"><choices/><description>Langue des notes de ticket (en, fr)</description><ignore_cache>false</ignore_cache><is_private>false</is_private><name>x_pkifactor.language</name><read_roles/><suffix/><sys_class_name>sys_properties</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-26 00:59:39</sys_created_on><sys_id>6f26f6d3c3841310acaaf64d05013124</sys_id><sys_mod_count>0</sys_mod_count><sys_name>x_pkifactor.language</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_properties_6f26f6d3c3841310acaaf64d05013124</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-26 00:59:39</sys_updated_on><type>string</type><value>en</value><write_roles/></sys_properties><sys_translated_text action="delete_multiple" query="documentkey=6f26f6d3c3841310acaaf64d05013124"/></record_update>]]></payload>
<payload_hash>-642891119</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>3e7e3697c3c41310acaaf64d0501314b</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823b60000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>x_pkifactor.language</target_name>
<type>System Property</type>
<update_domain>global</update_domain>
<update_guid>b31ef65759c4131038d091e6e49c9dff</update_guid>
<update_guid_history>b31ef65759c4131038d091e6e49c9dff:-642891119,73263ad34f841310258cd8d4c043b6b1:-642891119</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_script_1c33a61bc3c01310acaaf64d05013146</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update sys_domain="global" table="sys_script"&gt;&lt;sys_script action="INSERT_OR_UPDATE"&gt;&lt;abort_action&gt;false&lt;/abort_action&gt;&lt;access&gt;package_private&lt;/access&gt;&lt;action_delete&gt;false&lt;/action_delete&gt;&lt;action_insert&gt;true&lt;/action_insert&gt;&lt;action_query&gt;false&lt;/action_query&gt;&lt;action_update&gt;false&lt;/action_update&gt;&lt;active&gt;true&lt;/active&gt;&lt;add_message&gt;false&lt;/add_message&gt;&lt;advanced&gt;true&lt;/advanced&gt;&lt;change_fields&gt;false&lt;/change_fields&gt;&lt;client_callable&gt;false&lt;/client_callable&gt;&lt;collection&gt;sc_req_item&lt;/collection&gt;&lt;condition/&gt;&lt;description/&gt;&lt;execute_function&gt;false&lt;/execute_function&gt;&lt;filter_condition/&gt;&lt;is_rest&gt;false&lt;/is_rest&gt;&lt;message/&gt;&lt;name&gt;PKIFactor - send catalog request&lt;/name&gt;&lt;order&gt;100&lt;/order&gt;&lt;priority&gt;100&lt;/priority&gt;&lt;rest_method/&gt;&lt;rest_method_text/&gt;&lt;rest_service/&gt;&lt;rest_service_text/&gt;&lt;rest_variables/&gt;&lt;role_conditions/&gt;&lt;script&gt;&lt;![CDATA[/*
 * ServiceNow : règle métier « PKIFactor - transmettre la demande de catalogue ».
 * Table sc_req_item, ASYNCHRONE, après insertion (« async »), condition : l'article fait partie
 * des articles PKIFactor (propriété x_pkifactor.catalog_items, liste de sys_id).
 * ÉPROUVÉ sur une instance Zurich (patch 10) le 26/10/2026.
 *
 * Asynchrone : l'appel passe par le MID Server et peut prendre quelques secondes ; le demandeur
 * n'attend pas. Le résultat est écrit dans les notes de travail du ticket.
 */
(function executeRule(current, previous) {
    var articles = gs.getProperty('x_pkifactor.catalog_items', '').split(',');
    var article = String(current.cat_item);
    var action = '';
    for (var i = 0; i &lt; articles.length; i++) {
        var p = articles[i].split(':');           // "demander:&lt;sys_id&gt;", "renouveler:&lt;sys_id&gt;", "revoquer:&lt;sys_id&gt;"
        if (p.length === 2 &amp;&amp; p[1] === article) action = p[0];
    }
    if (!action) return;
    var client = new PKIFactorClient();
    if (action === 'demander') client.demander(current);
    else if (action === 'renouveler') client.renouveler(current);
    else if (action === 'revoquer') client.revoquer(current);
    current.update();
})(current, previous);
]]&gt;&lt;/script&gt;&lt;sys_class_name&gt;sys_script&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:42&lt;/sys_created_on&gt;&lt;sys_domain&gt;global&lt;/sys_domain&gt;&lt;sys_domain_path&gt;/&lt;/sys_domain_path&gt;&lt;sys_id&gt;1c33a61bc3c01310acaaf64d05013146&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;PKIFactor - send catalog request&lt;/sys_name&gt;&lt;sys_overrides/&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;sys_script_1c33a61bc3c01310acaaf64d05013146&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 01:24:03&lt;/sys_updated_on&gt;&lt;template/&gt;&lt;when&gt;async_always&lt;/when&gt;&lt;/sys_script&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=1c33a61bc3c01310acaaf64d05013146"/&gt;&lt;/record_update&gt;</payload>
<payload_hash>-1923334742</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>3e7e7697c3c41310acaaf64d05013120</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d821d80000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table>sc_req_item</table>
<target_name>PKIFactor - send catalog request</target_name>
<type>Business Rule</type>
<update_domain>global</update_domain>
<update_guid>ef1ef6574cc413109567568607f35fa6</update_guid>
<update_guid_history>ef1ef6574cc413109567568607f35fa6:-1923334742,49cb3edbf0841310b4b62c9fb89e2dba:-1923334742,9c33a61b8fc01310f92d443d974abd52:-1148268910</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_2f23261bc3c01310acaaf64d05013165</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Request a certificate"&gt;6723261bc3c01310acaaf64d05013123&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value&gt;javascript:gs.getUserID()&lt;/default_value&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;requested_for&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;100&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Requested for&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference&gt;sys_user&lt;/reference&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;2f23261bc3c01310acaaf64d05013165&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Requested for&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_2f23261bc3c01310acaaf64d05013165&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:41&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;8&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=2f23261bc3c01310acaaf64d05013165"/&gt;&lt;fx_price action="delete_multiple" query="id=2f23261bc3c01310acaaf64d05013165"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;2f23261bc3c01310acaaf64d05013165&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;6f23261bc3c01310acaaf64d05013186&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:39&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;2f23261bc3c01310acaaf64d05013165&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;ef23261bc3c01310acaaf64d05013185&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:39&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>625337559</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>727e3697c3c41310acaaf64d05013147</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d822dd0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Requested for</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>3b1ef65797c41310161a00ff046004e1</update_guid>
<update_guid_history>3b1ef65797c41310161a00ff046004e1:625337559,00367ad3248413105ce82783df82ed45:625337559,f323261bd2c0131069b4e1218461508d:-1879338219</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_properties_b223a21bc3c01310acaaf64d0501315c</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_properties"><sys_properties action="INSERT_OR_UPDATE"><choices/><description>MID Server par lequel joindre PKIFactor (vide = appel direct)</description><ignore_cache>false</ignore_cache><is_private>false</is_private><name>x_pkifactor.mid_server</name><read_roles/><suffix/><sys_class_name>sys_properties</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:36</sys_created_on><sys_id>b223a21bc3c01310acaaf64d0501315c</sys_id><sys_mod_count>0</sys_mod_count><sys_name>x_pkifactor.mid_server</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_properties_b223a21bc3c01310acaaf64d0501315c</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-25 23:36:36</sys_updated_on><type>string</type><value></value><write_roles/></sys_properties><sys_translated_text action="delete_multiple" query="documentkey=b223a21bc3c01310acaaf64d0501315c"/></record_update>]]></payload>
<payload_hash>461774119</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>727e3697c3c41310acaaf64d0501314c</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823c60000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>x_pkifactor.mid_server</target_name>
<type>System Property</type>
<update_domain>global</update_domain>
<update_guid>7b1e3a57e9c413109c145c60fe187e01</update_guid>
<update_guid_history>7b1e3a57e9c413109c145c60fe187e01:461774119,8b23a21be5c013102ef3e197023172b6:461774119</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_script_include_6723e21bc3c01310acaaf64d050131dc</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="sys_script_include"&gt;&lt;sys_script_include action="INSERT_OR_UPDATE"&gt;&lt;access&gt;package_private&lt;/access&gt;&lt;active&gt;true&lt;/active&gt;&lt;api_name&gt;global.PKIFactorClient&lt;/api_name&gt;&lt;caller_access/&gt;&lt;client_callable&gt;true&lt;/client_callable&gt;&lt;description&gt;Appels vers l'API entrante de PKIFactor (catalogue de services)&lt;/description&gt;&lt;mobile_callable&gt;false&lt;/mobile_callable&gt;&lt;name&gt;PKIFactorClient&lt;/name&gt;&lt;sandbox_callable&gt;false&lt;/sandbox_callable&gt;&lt;script&gt;&lt;![CDATA[/*
 * ServiceNow : Script Include « PKIFactorClient » (portée globale, appelable par GlideAjax).
 * ÉPROUVÉ sur une instance Zurich (patch 10) le 26/10/2026, via un MID Server.
 *
 * Appelle l'API d'intégration entrante de PKIFactor (/api/integrations/servicenow) au nom du
 * demandeur. Rien n'est décidé ici : PKIFactor applique les droits, l'organisation et
 * l'approbation de la personne. Aucune clé privée, aucun PKCS#12 ne transite.
 *
 * Réglages (propriétés système) :
 *   x_pkifactor.base_url        https://clm.example.com/api/integrations/servicenow
 *   x_pkifactor.mid_server      nom du MID Server (vide = appel direct depuis l'instance)
 *   x_pkifactor.credential_id   sys_id de l'identifiant « API Key » qui porte la clé pkf_sn_...
 *   x_pkifactor.timeout_s       délai d'attente de la réponse (défaut 60)
 *   x_pkifactor.language        langue des notes de ticket : en (défaut) ou fr
 */
var PKIFactorClient = Class.create();
PKIFactorClient.prototype = Object.extendsObject(AbstractAjaxProcessor, {

    /* ---------- notes de ticket (langue : x_pkifactor.language) ---------- */
    MESSAGES: {
        en: {
            pending: 'PKIFactor: request no. {id} is waiting for approval in PKIFactor.',
            issued: 'PKIFactor: certificate no. {id} issued.',
            refused: 'PKIFactor refused the request ({detail}).',
            renew_pending: 'PKIFactor: renewal no. {id} is waiting for approval in PKIFactor.',
            renewed: 'PKIFactor: certificate renewed (new certificate no. {id}).',
            renew_refused: 'PKIFactor refused the renewal ({detail}).',
            revoke_pending: 'PKIFactor: revocation is waiting for approval in PKIFactor.',
            revoked: 'PKIFactor: revocation recorded.',
            revoke_refused: 'PKIFactor refused the revocation ({detail}).',
            deferred: 'PKIFactor temporarily unreachable for {what} ({detail}). It will be retried automatically in a few minutes.',
            already: 'PKIFactor: request already received, certificate no. {id} ({state}).',
            st_issued: 'issued', st_pending: 'waiting for approval',
            w_request: 'the request', w_renew: 'the renewal', w_revoke: 'the revocation', w_retry: 'the retry',
            ui_choose: '-- Choose a profile --', ui_none: '-- No profile allowed for this person --',
            ui_unavailable: '-- Unavailable --', ui_approval: ' (with approval)'
        },
        fr: {
            pending: 'PKIFactor : demande n°{id} en attente d\'approbation dans PKIFactor.',
            issued: 'PKIFactor : certificat n°{id} émis.',
            refused: 'PKIFactor a refusé la demande ({detail}).',
            renew_pending: 'PKIFactor : renouvellement n°{id} en attente d\'approbation dans PKIFactor.',
            renewed: 'PKIFactor : certificat renouvelé (nouveau certificat n°{id}).',
            renew_refused: 'PKIFactor a refusé le renouvellement ({detail}).',
            revoke_pending: 'PKIFactor : révocation en attente d\'approbation dans PKIFactor.',
            revoked: 'PKIFactor : révocation enregistrée.',
            revoke_refused: 'PKIFactor a refusé la révocation ({detail}).',
            deferred: 'PKIFactor momentanément injoignable pour {what} ({detail}). Nouvelle tentative automatique dans quelques minutes.',
            already: 'PKIFactor : demande déjà reçue, certificat n°{id} ({state}).',
            st_issued: 'émis', st_pending: 'en attente d\'approbation',
            w_request: 'la demande', w_renew: 'le renouvellement', w_revoke: 'la révocation', w_retry: 'la reprise',
            ui_choose: '-- Choisir un profil --', ui_none: '-- Aucun profil autorisé pour cette personne --',
            ui_unavailable: '-- Indisponible --', ui_approval: ' (avec approbation)'
        }
    },

    _t: function(cle, params) {
        var lang = gs.getProperty('x_pkifactor.language', 'en');
        var m = (this.MESSAGES[lang] || this.MESSAGES.en)[cle] || cle;
        for (var k in (params || {}))
            m = m.replace('{' + k + '}', params[k]);
        return m;
    },

    /* ---------- appel HTTP commun ---------- */
    _appeler: function(methode, chemin, corps) {
        var base = gs.getProperty('x_pkifactor.base_url', '').replace(/\/+$/, '');
        var mid = gs.getProperty('x_pkifactor.mid_server', '');
        var credId = gs.getProperty('x_pkifactor.credential_id', '');
        var attente = parseInt(gs.getProperty('x_pkifactor.timeout_s', '60'), 10);
        if (!base || !credId)
            return { statut: 0, json: { detail: 'Intégration PKIFactor non configurée (x_pkifactor.base_url, x_pkifactor.credential_id).' } };

        // Lecture côté serveur par GlideRecord : l'API sn_cc applique les ACL de la personne connectée,
        // or la liste des profils est demandée au nom du demandeur (sans rôle). La clé ne quitte
        // jamais le serveur.
        var cred = new GlideRecord('api_key_credentials');
        var cle = (cred.get(credId) &amp;&amp; cred.active) ? String(cred.api_key.getDecryptedValue() || '') : '';
        if (!cle)
            return { statut: 0, json: { detail: 'Identifiant API Key PKIFactor introuvable ou vide.' } };

        var rm = new sn_ws.RESTMessageV2();
        rm.setEndpoint(base + chemin);
        rm.setHttpMethod(methode);
        rm.setRequestHeader('Authorization', 'Bearer ' + cle);
        rm.setRequestHeader('Accept', 'application/json');
        rm.setRequestHeader('Content-Type', 'application/json');
        if (mid)
            rm.setMIDServer(mid);
        if (corps)
            rm.setRequestBody(JSON.stringify(corps));
        rm.setHttpTimeout(attente * 1000);

        var rep;
        try {
            rep = rm.execute();
            if (mid)
                rep.waitForResponse(attente);
        } catch (e) {
            return { statut: 0, json: { detail: 'Appel PKIFactor impossible : ' + e } };
        }
        var statut = rep.getStatusCode();
        var json = {};
        try { json = JSON.parse(rep.getBody() || '{}'); } catch (e2) { json = { detail: rep.getBody() }; }
        if (statut === 0 &amp;&amp; rep.getErrorMessage())
            json = { detail: rep.getErrorMessage() };
        return { statut: statut, json: json };
    },

    _demandeur: function(ritm) {
        // Toujours la personne pour qui l'on commande (variable « requested_for », à défaut le
        // demandeur de la requête), jamais un champ texte libre. Une variable de catalogue n'a pas
        // getRefRecord() : on relit l'utilisateur par son sys_id.
        var id = String(ritm.variables.requested_for || '') || String(ritm.request.requested_for || '');
        var u = new GlideRecord('sys_user');
        return u.get(id) ? String(u.getValue('email') || '') : '';
    },

    _detail: function(r) {
        var d = r.json &amp;&amp; r.json.detail;
        if (d &amp;&amp; typeof d === 'object')
            d = JSON.stringify(d);
        return 'HTTP ' + r.statut + (d ? ' : ' + d : '');
    },

    /* ---------- erreurs passagères : ticket laissé ouvert, reprise planifiée ---------- */
    MARQUE_REPRISE: 'pkifactor:reprise',

    _transitoire: function(r) {
        // PKIFactor ou le MID injoignable, surcharge, erreur serveur : rien n'a été décidé.
        return r.statut === 0 || r.statut === 429 || r.statut &gt;= 500;
    },

    _differer: function(ritm, r, quoi) {
        ritm.work_notes = this._t('deferred', { what: this._t(quoi), detail: this._detail(r) });
        ritm.setValue('state', 2);                       // Work in Progress
        ritm.setValue('correlation_id', this.MARQUE_REPRISE);
    },

    _fin: function(ritm) {
        if (String(ritm.correlation_id) === this.MARQUE_REPRISE)
            ritm.setValue('correlation_id', '');
    },

    /* Reprise d'une demande différée. Avant de renvoyer une demande ou un renouvellement, on
       demande à PKIFactor s'il a déjà traité ce ticket : un appel parti mais dont la réponse
       s'est perdue ne doit pas produire un second certificat. */
    reprendre: function(ritm, action) {
        if (action === 'demander' || action === 'renouveler') {
            var r = this._appeler('get', '/requests?ticket_number=' + encodeURIComponent(String(ritm.number))
                + '&amp;requested_for_email=' + encodeURIComponent(this._demandeur(ritm)));
            if (this._transitoire(r))
                return this._differer(ritm, r, 'w_retry');
            var certs = (r.statut === 200 &amp;&amp; r.json.certificates) ? r.json.certificates : [];
            if (certs.length) {
                var c = certs[0];
                var emis = String(c.status).toUpperCase() === 'ISSUED';
                ritm.work_notes = this._t('already', { id: c.id, state: this._t(emis ? 'st_issued' : 'st_pending') });
                ritm.setValue('state', emis ? 3 : -5);
                return this._fin(ritm);
            }
        }
        if (action === 'demander') return this.demander(ritm);
        if (action === 'renouveler') return this.renouveler(ritm);
        if (action === 'revoquer') return this.revoquer(ritm);
    },

    /* ---------- GlideAjax : profils utilisables par une personne ---------- */
    listerProfils: function() {
        var userId = this.getParameter('sysparm_user');
        var txt = { choose: this._t('ui_choose'), none: this._t('ui_none'),
                    unavailable: this._t('ui_unavailable'), approval: this._t('ui_approval') };
        var u = new GlideRecord('sys_user');
        if (!userId || !u.get(userId))
            return JSON.stringify({ erreur: 'Unknown user', txt: txt });
        var r = this._appeler('get', '/templates?requested_for_email=' + encodeURIComponent(String(u.email)));
        if (r.statut !== 200)
            return JSON.stringify({ erreur: this._detail(r), txt: txt });
        var liste = r.json.templates || r.json;
        var out = [];
        for (var i = 0; i &lt; liste.length; i++)
            out.push({ id: liste[i].id, nom: liste[i].name, approbation: liste[i].requires_approval });
        return JSON.stringify({ profils: out, txt: txt });
    },

    /* ---------- actions appelées par la règle métier ---------- */
    demander: function(ritm) {
        var v = ritm.variables;
        var corps = {
            requested_for_email: this._demandeur(ritm),
            ticket_number: String(ritm.number),
            template_id: parseInt(String(v.profil), 10),
            common_name: String(v.nom_commun),
            san: String(v.san || ''),
            csr_pem: String(v.csr || '')
        };
        var r = this._appeler('post', '/requests', corps);
        if (this._transitoire(r)) { this._differer(ritm, r, 'w_request'); return r; }
        this._fin(ritm);
        if (r.statut === 200 &amp;&amp; r.json.success) {
            ritm.work_notes = this._t(r.json.pending_approval ? 'pending' : 'issued', { id: r.json.certificate_id });
            ritm.setValue('state', r.json.pending_approval ? -5 : 3);   // Pending / Closed Complete
        } else {
            ritm.work_notes = this._t('refused', { detail: this._detail(r) });
            ritm.setValue('state', 4);               // Closed Incomplete
        }
        return r;
    },

    renouveler: function(ritm) {
        var v = ritm.variables;
        var corps = {
            requested_for_email: this._demandeur(ritm),
            ticket_number: String(ritm.number),
            csr_pem: String(v.csr || '')
        };
        var r = this._appeler('post', '/certificates/' + parseInt(String(v.id_certificat), 10) + '/renew', corps);
        if (this._transitoire(r)) { this._differer(ritm, r, 'w_renew'); return r; }
        this._fin(ritm);
        if (r.statut === 200 &amp;&amp; r.json.success) {
            ritm.work_notes = this._t(r.json.pending_approval ? 'renew_pending' : 'renewed', { id: r.json.certificate_id });
            if (!r.json.pending_approval)
                ritm.setValue('state', 3);
        } else {
            ritm.work_notes = this._t('renew_refused', { detail: this._detail(r) });
            ritm.setValue('state', 4);
        }
        return r;
    },

    revoquer: function(ritm) {
        var v = ritm.variables;
        var corps = {
            requested_for_email: this._demandeur(ritm),
            ticket_number: String(ritm.number),
            reason: String(v.motif || '')
        };
        var r = this._appeler('post', '/certificates/' + parseInt(String(v.id_certificat), 10) + '/revoke', corps);
        if (this._transitoire(r)) { this._differer(ritm, r, 'w_revoke'); return r; }
        this._fin(ritm);
        if (r.statut === 200 &amp;&amp; r.json.success) {
            ritm.work_notes = this._t(r.json.pending_approval ? 'revoke_pending' : 'revoked');
            if (!r.json.pending_approval)
                ritm.setValue('state', 3);
        } else {
            ritm.work_notes = this._t('revoke_refused', { detail: this._detail(r) });
            ritm.setValue('state', 4);
        }
        return r;
    },

    type: 'PKIFactorClient'
});
]]&gt;&lt;/script&gt;&lt;sys_class_name&gt;sys_script_include&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:38&lt;/sys_created_on&gt;&lt;sys_id&gt;6723e21bc3c01310acaaf64d050131dc&lt;/sys_id&gt;&lt;sys_mod_count&gt;4&lt;/sys_mod_count&gt;&lt;sys_name&gt;PKIFactorClient&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;sys_script_include_6723e21bc3c01310acaaf64d050131dc&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:40&lt;/sys_updated_on&gt;&lt;/sys_script_include&gt;&lt;/record_update&gt;</payload>
<payload_hash>-829127627</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>727e7697c3c41310acaaf64d05013121</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d821ba0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>PKIFactorClient</target_name>
<type>Script Include</type>
<update_domain>global</update_domain>
<update_guid>e31ef65762c41310ff2ee184894641a4</update_guid>
<update_guid_history>e31ef65762c41310ff2ee184894641a4:-829127627,bb263ad3728413102fad819059ff9abe:-829127627,c8ae6a5f9d04131014c55d59183b03c1:810222648,fc2da29ff304131089558b8236740632:-805898682,783b2e5b8c041310f5baba7c4e2e2e3b:1968195537,6b23261b7bc01310cc154d8c5431e616:1918743076</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_8433661bc3c01310acaaf64d05013180</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Revoke a certificate"&gt;cc33661bc3c01310acaaf64d05013164&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value&gt;javascript:gs.getUserID()&lt;/default_value&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;requested_for&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;100&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Requested for&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference&gt;sys_user&lt;/reference&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;8433661bc3c01310acaaf64d05013180&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Requested for&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_8433661bc3c01310acaaf64d05013180&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:43&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;8&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=8433661bc3c01310acaaf64d05013180"/&gt;&lt;fx_price action="delete_multiple" query="id=8433661bc3c01310acaaf64d05013180"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;8433661bc3c01310acaaf64d05013180&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:41&lt;/sys_created_on&gt;&lt;sys_id&gt;c433661bc3c01310acaaf64d05013197&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:41&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;8433661bc3c01310acaaf64d05013180&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:41&lt;/sys_created_on&gt;&lt;sys_id&gt;4833661bc3c01310acaaf64d05013196&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:41&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>-1805519741</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>767e3697c3c41310acaaf64d05013148</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d8232a0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Requested for</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>3b1ef6577cc41310df8fe80cbc6a5aec</update_guid>
<update_guid_history>3b1ef6577cc41310df8fe80cbc6a5aec:-1805519741,5436bad3cf841310186332fcd1dc213a:-1805519741,cc33661bd9c01310fc33313fa85ede9b:-1332483499</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>catalog_script_client_7f23261bc3c01310acaaf64d050131ec</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update sys_domain="global" table="catalog_script_client"&gt;&lt;catalog_script_client action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;applies_catalog&gt;true&lt;/applies_catalog&gt;&lt;applies_extended&gt;false&lt;/applies_extended&gt;&lt;applies_req_item&gt;false&lt;/applies_req_item&gt;&lt;applies_sc_task&gt;false&lt;/applies_sc_task&gt;&lt;applies_target_record&gt;false&lt;/applies_target_record&gt;&lt;applies_to&gt;item&lt;/applies_to&gt;&lt;cat_item display_value="Request a certificate"&gt;6723261bc3c01310acaaf64d05013123&lt;/cat_item&gt;&lt;cat_variable&gt;IO:2f23261bc3c01310acaaf64d05013165&lt;/cat_variable&gt;&lt;condition/&gt;&lt;description/&gt;&lt;field/&gt;&lt;global&gt;true&lt;/global&gt;&lt;isolate_script&gt;true&lt;/isolate_script&gt;&lt;messages/&gt;&lt;name&gt;PKIFactor - profils autorisés&lt;/name&gt;&lt;order/&gt;&lt;published_ref/&gt;&lt;script&gt;&lt;![CDATA[/*
 * ServiceNow : script client d'article de catalogue, type onChange sur la variable « requested_for »
 * (il s'exécute aussi au chargement du formulaire, isLoading = true).
 * Remplit la liste « profil » avec les profils que PKIFactor autorise POUR CETTE PERSONNE :
 * jamais une liste figée, jamais le profil d'une autre organisation.
 * Un seul script : sur le Service Portal, chaque script client est isolé des autres.
 * ÉPROUVÉ sur une instance Zurich (patch 10) le 26/10/2026.
 */
function onChange(control, oldValue, newValue, isLoading) {
    g_form.clearOptions('profil');
    g_form.addOption('profil', '', '...');
    if (!newValue) return;
    var ga = new GlideAjax('PKIFactorClient');
    ga.addParam('sysparm_name', 'listerProfils');
    ga.addParam('sysparm_user', newValue);
    ga.getXMLAnswer(function(reponse) {
        g_form.clearOptions('profil');
        var d = {};
        try { d = JSON.parse(reponse); } catch (e) { d = { erreur: reponse }; }
        var t = d.txt || { choose: '--', none: '--', unavailable: '--', approval: '' };
        if (d.erreur) {
            g_form.addOption('profil', '', t.unavailable);
            g_form.showFieldMsg('profil', 'PKIFactor : ' + d.erreur, 'error');
            return;
        }
        if (!d.profils || !d.profils.length) {
            g_form.addOption('profil', '', t.none);
            return;
        }
        g_form.addOption('profil', '', t.choose);
        for (var i = 0; i &lt; d.profils.length; i++) {
            var p = d.profils[i];
            g_form.addOption('profil', String(p.id), p.nom + (p.approbation ? t.approval : ''));
        }
    });
}
]]&gt;&lt;/script&gt;&lt;sys_class_name&gt;catalog_script_client&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_domain&gt;global&lt;/sys_domain&gt;&lt;sys_domain_path&gt;/&lt;/sys_domain_path&gt;&lt;sys_id&gt;7f23261bc3c01310acaaf64d050131ec&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;PKIFactor - profils autorisés&lt;/sys_name&gt;&lt;sys_overrides/&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;catalog_script_client_7f23261bc3c01310acaaf64d050131ec&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:42&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;type&gt;onChange&lt;/type&gt;&lt;ui_type&gt;10&lt;/ui_type&gt;&lt;va_supported&gt;true&lt;/va_supported&gt;&lt;variable_set/&gt;&lt;view/&gt;&lt;/catalog_script_client&gt;&lt;/record_update&gt;</payload>
<payload_hash>1293942461</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>7a7e3697c3c41310acaaf64d05013145</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823960000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>PKIFactor - profils autorisés</target_name>
<type>Catalog Client Scripts</type>
<update_domain>global</update_domain>
<update_guid>731ef657aac4131017504da028f266fa</update_guid>
<update_guid_history>731ef657aac4131017504da028f266fa:1293942461,d0367ad38e841310f65c1fc3185c2dd7:1293942461,ff23261b80c01310dec12e1af99cd0fa:-416787479</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_fb23661bc3c01310acaaf64d05013131</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Renew a certificate"&gt;b723261bc3c01310acaaf64d050131fd&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value&gt;javascript:gs.getUserID()&lt;/default_value&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;requested_for&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;100&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Requested for&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference&gt;sys_user&lt;/reference&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;fb23661bc3c01310acaaf64d05013131&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Requested for&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_fb23661bc3c01310acaaf64d05013131&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:42&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;8&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=fb23661bc3c01310acaaf64d05013131"/&gt;&lt;fx_price action="delete_multiple" query="id=fb23661bc3c01310acaaf64d05013131"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;fb23661bc3c01310acaaf64d05013131&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;7723661bc3c01310acaaf64d0501313c&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;fb23661bc3c01310acaaf64d05013131&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;f723661bc3c01310acaaf64d0501313b&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>-988712824</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>7a7e3697c3c41310acaaf64d05013149</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823830000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Requested for</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>3b1ef6571ec41310a08801ca0e6ad1f7</update_guid>
<update_guid_history>3b1ef6571ec41310a08801ca0e6ad1f7:-988712824,5c367ad3cc841310958195299a8feaf1:-988712824,7f23661bd6c01310326e23287595a740:1661525491</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sc_cat_item_cc33661bc3c01310acaaf64d05013164</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sc_cat_item"><sc_cat_item action="INSERT_OR_UPDATE"><access_type>restricted</access_type><active>true</active><availability>on_desktop</availability><billable>false</billable><category display_value="Certificates (PKIFactor)">2323261bc3c01310acaaf64d0501311a</category><cc_render_type>system</cc_render_type><checked_out/><cost>0</cost><custom_cart/><delivery_plan/><delivery_plan_script/><delivery_time>1970-01-03 00:00:00</delivery_time><description/><display_price_property>non_zero</display_price_property><entitlement_script/><flow_designer_flow/><fulfillment_automation_level>unspecified</fulfillment_automation_level><group/><hide_sp>false</hide_sp><icon/><ignore_price>true</ignore_price><image/><location/><make_item_non_conversational>false</make_item_non_conversational><mandatory_attachment>false</mandatory_attachment><meta/><mobile_hide_price>false</mobile_hide_price><mobile_picture/><mobile_picture_type>use_desktop_picture</mobile_picture_type><model/><name>Revoke a certificate</name><no_attachment_v2>false</no_attachment_v2><no_cart>true</no_cart><no_cart_v2>true</no_cart_v2><no_delivery_time_v2>false</no_delivery_time_v2><no_order>false</no_order><no_order_now>false</no_order_now><no_proceed_checkout>false</no_proceed_checkout><no_quantity>true</no_quantity><no_quantity_v2>true</no_quantity_v2><no_save_as_draft>true</no_save_as_draft><no_search>false</no_search><no_wishlist_v2>false</no_wishlist_v2><omit_price>false</omit_price><order>0</order><ordered_item_link/><owner display_value="System Administrator">6816f79cc0a8016401c5a33be04be441</owner><picture/><preview>JavaScript: popupOpenStandard("com.glideapp.servicecatalog_cat_item_view.do?v=1&amp;sysparm_id=cc33661bc3c01310acaaf64d05013164&amp;sysparm_preview=true", "summary");</preview><price>0</price><published_ref/><recurring_frequency/><request_method/><roles/><sc_catalogs>e0d08b13c3330100c8b837659bba8fb4</sc_catalogs><sc_ic_item_staging/><sc_ic_version/><sc_template/><short_description>Revocation of a PKIFactor certificate</short_description><show_variable_help_on_load>false</show_variable_help_on_load><start_closed>false</start_closed><state/><sys_class_name>sc_cat_item</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:40</sys_created_on><sys_id>cc33661bc3c01310acaaf64d05013164</sys_id><sys_mod_count>11</sys_mod_count><sys_name>Revoke a certificate</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sc_cat_item_cc33661bc3c01310acaaf64d05013164</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-26 01:13:39</sys_updated_on><taxonomy_topic/><template/><template_manager_roles/><type>item</type><use_sc_layout>true</use_sc_layout><vendor/><version>11</version><visible_bundle>true</visible_bundle><visible_guide>true</visible_guide><visible_standalone>true</visible_standalone><workflow/></sc_cat_item><sys_translated_text action="delete_multiple" query="documentkey=cc33661bc3c01310acaaf64d05013164"/><fx_price action="delete_multiple" query="id=cc33661bc3c01310acaaf64d05013164"/><fx_price action="INSERT_OR_UPDATE"><amount>0</amount><currency display_value="USD">USD</currency><field>price</field><id>cc33661bc3c01310acaaf64d05013164</id><parent/><reference_amount>0</reference_amount><reference_currency display_value="USD">USD</reference_currency><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:40</sys_created_on><sys_id>c833661bc3c01310acaaf64d05013167</sys_id><sys_mod_count>0</sys_mod_count><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-25 23:36:40</sys_updated_on><table>sc_cat_item</table><type>calculated</type></fx_price></record_update>]]></payload>
<payload_hash>2113587003</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>7e7e3697c3c41310acaaf64d0501314a</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d822810000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Revoke a certificate</target_name>
<type>Catalog Item</type>
<update_domain>global</update_domain>
<update_guid>b71ef657aac413101b1ac6c7a65a85d7</update_guid>
<update_guid_history>b71ef657aac413101b1ac6c7a65a85d7:2113587003,e469f2db458413105e28eb93086f61d1:2113587003,d436bad3b6841310d4c500bbc95bf956:572580605,9836bad378841310949b210de548eb45:-566720795,dc36bad32f84131064a0cdd7ff320034:1137910052,d036bad3a38413108dcd5d980d97f11d:-1452426397,6606f2d3fe8413105301ac77c0581921:945665943,343b2e5b610413105973920bd188e66d:883660465,0033661bf1c01310fef4f1d7d1a8fab6:652026940,4033661b19c01310f686f0900edf17a5:-1938309509,0033661b25c01310f89d5dca76a84894:-233678662,0033661b9fc0131098fbd9c65a46b389:1470952185,8033661b9dc0131088b232934b057d7e:-332976963</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_properties_c033661bc3c01310acaaf64d050131c0</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_properties"><sys_properties action="INSERT_OR_UPDATE"><choices/><description>Articles PKIFactor (action:sys_id), seuls traités par la règle métier et l'API de retour</description><ignore_cache>false</ignore_cache><is_private>false</is_private><name>x_pkifactor.catalog_items</name><read_roles/><suffix/><sys_class_name>sys_properties</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:41</sys_created_on><sys_id>c033661bc3c01310acaaf64d050131c0</sys_id><sys_mod_count>0</sys_mod_count><sys_name>x_pkifactor.catalog_items</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_properties_c033661bc3c01310acaaf64d050131c0</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-25 23:36:41</sys_updated_on><type>string</type><value>demander:6723261bc3c01310acaaf64d05013123,renouveler:b723261bc3c01310acaaf64d050131fd,revoquer:cc33661bc3c01310acaaf64d05013164</value><write_roles/></sys_properties><sys_translated_text action="delete_multiple" query="documentkey=c033661bc3c01310acaaf64d050131c0"/></record_update>]]></payload>
<payload_hash>-472780674</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>7e7e7697c3c41310acaaf64d0501311f</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823d50000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>x_pkifactor.catalog_items</target_name>
<type>System Property</type>
<update_domain>global</update_domain>
<update_guid>331e3a57e1c41310e5558adc48bbe204</update_guid>
<update_guid_history>331e3a57e1c41310e5558adc48bbe204:-472780674,5c33a61bd7c01310dbd69b8bb3dd1f42:-472780674</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sysauto_script_c4ae2a53c3441310acaaf64d050131b1</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="sysauto_script"&gt;&lt;sysauto_script action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;advanced&gt;false&lt;/advanced&gt;&lt;business_calendar/&gt;&lt;condition/&gt;&lt;conditional&gt;false&lt;/conditional&gt;&lt;entered_run_end/&gt;&lt;entered_run_start/&gt;&lt;entered_time/&gt;&lt;max_drift/&gt;&lt;name&gt;PKIFactor - retry deferred requests&lt;/name&gt;&lt;offset/&gt;&lt;offset_type&gt;0&lt;/offset_type&gt;&lt;repeat_every/&gt;&lt;run_as display_value="System Administrator"&gt;6816f79cc0a8016401c5a33be04be441&lt;/run_as&gt;&lt;run_as_tz/&gt;&lt;run_dayofmonth&gt;1&lt;/run_dayofmonth&gt;&lt;run_dayofweek/&gt;&lt;run_daysofweek/&gt;&lt;run_end/&gt;&lt;run_month/&gt;&lt;run_period&gt;1970-01-01 00:10:00&lt;/run_period&gt;&lt;run_start&gt;2026-10-26 00:26:39&lt;/run_start&gt;&lt;run_time/&gt;&lt;run_type&gt;periodically&lt;/run_type&gt;&lt;run_weekinmonth/&gt;&lt;script&gt;&lt;![CDATA[/*
 * ServiceNow : tâche planifiée « PKIFactor - reprise des demandes » (Scheduled Script Execution,
 * toutes les 10 minutes). Retransmet les demandes de catalogue restées ouvertes parce que PKIFactor
 * ou le MID Server était injoignable (correlation_id = pkifactor:reprise). La reprise vérifie
 * d'abord auprès de PKIFactor que le ticket n'a pas déjà été traité.
 * ÉPROUVÉ sur une instance Zurich (patch 10) le 26/10/2026.
 */
(function reprise() {
    var actions = {};
    var cfg = gs.getProperty('x_pkifactor.catalog_items', '').split(',');
    for (var i = 0; i &lt; cfg.length; i++) {
        var p = cfg[i].split(':');
        if (p.length === 2) actions[p[1]] = p[0];
    }
    var client = new PKIFactorClient();
    var r = new GlideRecord('sc_req_item');
    r.addQuery('correlation_id', client.MARQUE_REPRISE);
    r.addActiveQuery();
    r.setLimit(50);
    r.query();
    var n = 0;
    while (r.next()) {
        var action = actions[String(r.cat_item)];
        if (!action) continue;
        client.reprendre(r, action);
        r.update();
        n++;
    }
    if (n) gs.info('PKIFactor : ' + n + ' demande(s) reprise(s)');
})();
]]&gt;&lt;/script&gt;&lt;sys_class_name&gt;sysauto_script&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-26 00:26:39&lt;/sys_created_on&gt;&lt;sys_id&gt;c4ae2a53c3441310acaaf64d050131b1&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;PKIFactor - retry deferred requests&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;sysauto_script_c4ae2a53c3441310acaaf64d050131b1&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 01:24:04&lt;/sys_updated_on&gt;&lt;time_zone/&gt;&lt;upgrade_safe&gt;false&lt;/upgrade_safe&gt;&lt;/sysauto_script&gt;&lt;/record_update&gt;</payload>
<payload_hash>336450894</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>b27e3697c3c41310acaaf64d0501314b</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d821ed0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>PKIFactor - retry deferred requests</target_name>
<type>Scheduled Script Execution</type>
<update_domain>global</update_domain>
<update_guid>2f1ef657b7c4131081e5f1e9f90d6fa9</update_guid>
<update_guid_history>2f1ef657b7c4131081e5f1e9f90d6fa9:336450894,c7c4f6135884131040ba1aac95dd6459:-1928012228</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_properties_cb23a21bc3c01310acaaf64d050131ba</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_properties"><sys_properties action="INSERT_OR_UPDATE"><choices/><description>sys_id de l'identifiant API Key « PKIFactor - appels entrants »</description><ignore_cache>false</ignore_cache><is_private>false</is_private><name>x_pkifactor.credential_id</name><read_roles/><suffix/><sys_class_name>sys_properties</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:36</sys_created_on><sys_id>cb23a21bc3c01310acaaf64d050131ba</sys_id><sys_mod_count>0</sys_mod_count><sys_name>x_pkifactor.credential_id</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_properties_cb23a21bc3c01310acaaf64d050131ba</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-25 23:36:36</sys_updated_on><type>string</type><value>db52a617c3c01310acaaf64d05013157</value><write_roles/></sys_properties><sys_translated_text action="delete_multiple" query="documentkey=cb23a21bc3c01310acaaf64d050131ba"/></record_update>]]></payload>
<payload_hash>1819322909</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>b27e7697c3c41310acaaf64d05013120</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823e30000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>x_pkifactor.credential_id</target_name>
<type>System Property</type>
<update_domain>global</update_domain>
<update_guid>f71e3a5743c41310f2ac7fe4402ef306</update_guid>
<update_guid_history>f71e3a5743c41310f2ac7fe4402ef306:1819322909,d323e21b9ac01310a026d0e94900be73:1819322909</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_7323661bc3c01310acaaf64d05013143</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Renew a certificate"&gt;b723261bc3c01310acaaf64d050131fd&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value/&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;id_certificat&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;200&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Certificate number in PKIFactor&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference/&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;7323661bc3c01310acaaf64d05013143&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Certificate number in PKIFactor&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_7323661bc3c01310acaaf64d05013143&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:42&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;6&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=7323661bc3c01310acaaf64d05013143"/&gt;&lt;fx_price action="delete_multiple" query="id=7323661bc3c01310acaaf64d05013143"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;7323661bc3c01310acaaf64d05013143&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;3b23661bc3c01310acaaf64d0501314d&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;7323661bc3c01310acaaf64d05013143&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;bb23661bc3c01310acaaf64d0501314c&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>-1332021860</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>b67e3697c3c41310acaaf64d05013147</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d822ef0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Certificate number in PKIFactor</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>371ef6576dc41310bdec677587ceabe4</update_guid>
<update_guid_history>371ef6576dc41310bdec677587ceabe4:-1332021860,9836bad3d38413108ceee2ef2e7f9e02:-1332021860,3f23661bcdc013101d5bb510d9fc7251:1299058427</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_ws_definition_dc33a61bc3c01310acaaf64d05013155</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ws_definition"><sys_ws_definition action="INSERT_OR_UPDATE"><active>true</active><base_uri>/api/2273904/pkifactor_feedback</base_uri><consumes>application/json,application/xml,text/xml</consumes><consumes_customized>false</consumes_customized><default_version>No active default version</default_version><doc_link/><enforce_acl/><is_versioned>false</is_versioned><name>PKIFactor Ticket Feedback</name><namespace>2273904</namespace><produces>application/json,application/xml,text/xml</produces><produces_customized>false</produces_customized><service_id>pkifactor_feedback</service_id><short_description>Notes de PKIFactor dans les tickets issus de ses articles de catalogue</short_description><sys_class_name>sys_ws_definition</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:42</sys_created_on><sys_id>dc33a61bc3c01310acaaf64d05013155</sys_id><sys_mod_count>0</sys_mod_count><sys_name>PKIFactor Ticket Feedback</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_ws_definition_dc33a61bc3c01310acaaf64d05013155</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-25 23:36:42</sys_updated_on></sys_ws_definition></record_update>]]></payload>
<payload_hash>2029940289</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>b67e7697c3c41310acaaf64d05013121</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d822130000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>PKIFactor Ticket Feedback</target_name>
<type>Scripted REST API</type>
<update_domain>global</update_domain>
<update_guid>671ef65785c41310c7b0db42e4a9bac7</update_guid>
<update_guid_history>671ef65785c41310c7b0db42e4a9bac7:2029940289,9c33a61beec013109ef21b080edea55e:2029940289</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_bb23261bc3c01310acaaf64d050131db</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Request a certificate"&gt;6723261bc3c01310acaaf64d05013123&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value/&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;csr&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;500&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Certificate signing request (CSR, PEM)&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference/&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;bb23261bc3c01310acaaf64d050131db&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Certificate signing request (CSR, PEM)&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_bb23261bc3c01310acaaf64d050131db&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:42&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;2&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=bb23261bc3c01310acaaf64d050131db"/&gt;&lt;fx_price action="delete_multiple" query="id=bb23261bc3c01310acaaf64d050131db"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;bb23261bc3c01310acaaf64d050131db&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;7323261bc3c01310acaaf64d050131e6&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;bb23261bc3c01310acaaf64d050131db&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;f323261bc3c01310acaaf64d050131e5&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>72684492</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>ba7e3697c3c41310acaaf64d05013148</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823430000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Certificate signing request (CSR, PEM)</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>371ef65703c4131050fe38aeb749ffef</update_guid>
<update_guid_history>371ef65703c4131050fe38aeb749ffef:72684492,04367ad34284131059e17395ebe576a1:72684492,7723261b8ac013101d85e467018e1bea:-528978480</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sc_category_2323261bc3c01310acaaf64d0501311a</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sc_category"><sc_category action="INSERT_OR_UPDATE"><active>true</active><description>Request, renew or revoke a certificate managed by PKIFactor</description><entitlement_script/><header_icon/><homepage_image/><homepage_renderer display_value="Category Items">47ebe8aa3742300054b6a3549dbe5dfa</homepage_renderer><icon/><image/><location/><mobile_hide_description>false</mobile_hide_description><mobile_picture/><mobile_subcategory_render_type>list</mobile_subcategory_render_type><module/><order>0</order><parent/><roles/><sc_catalog display_value="Service Catalog">e0d08b13c3330100c8b837659bba8fb4</sc_catalog><sys_class_name>sc_category</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:38</sys_created_on><sys_id>2323261bc3c01310acaaf64d0501311a</sys_id><sys_mod_count>2</sys_mod_count><sys_name>Certificates (PKIFactor)</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sc_category_2323261bc3c01310acaaf64d0501311a</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-26 00:59:41</sys_updated_on><title>Certificates (PKIFactor)</title></sc_category><sys_translated_text action="delete_multiple" query="documentkey=2323261bc3c01310acaaf64d0501311a"/></record_update>]]></payload>
<payload_hash>1156447523</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>be7e3697c3c41310acaaf64d05013149</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d822420000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Certificates (PKIFactor)</target_name>
<type>Category</type>
<update_domain>global</update_domain>
<update_guid>7f1ef6571ac41310f4d165b0e0b9d7cd</update_guid>
<update_guid_history>7f1ef6571ac41310f4d165b0e0b9d7cd:1156447523,c8367ad38f84131045bdaac895778b14:1156447523,1206b2d32b841310f90ef75c5c4271bd:-413316699,e723261b8cc01310745a7803bf12e220:-1237379691</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sc_cat_item_6723261bc3c01310acaaf64d05013123</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sc_cat_item"><sc_cat_item action="INSERT_OR_UPDATE"><access_type>restricted</access_type><active>true</active><availability>on_desktop</availability><billable>false</billable><category display_value="Certificates (PKIFactor)">2323261bc3c01310acaaf64d0501311a</category><cc_render_type>system</cc_render_type><checked_out/><cost>0</cost><custom_cart/><delivery_plan/><delivery_plan_script/><delivery_time>1970-01-03 00:00:00</delivery_time><description/><display_price_property>non_zero</display_price_property><entitlement_script/><flow_designer_flow/><fulfillment_automation_level>unspecified</fulfillment_automation_level><group/><hide_sp>false</hide_sp><icon/><ignore_price>true</ignore_price><image/><location/><make_item_non_conversational>false</make_item_non_conversational><mandatory_attachment>false</mandatory_attachment><meta/><mobile_hide_price>false</mobile_hide_price><mobile_picture/><mobile_picture_type>use_desktop_picture</mobile_picture_type><model/><name>Request a certificate</name><no_attachment_v2>false</no_attachment_v2><no_cart>true</no_cart><no_cart_v2>true</no_cart_v2><no_delivery_time_v2>false</no_delivery_time_v2><no_order>false</no_order><no_order_now>false</no_order_now><no_proceed_checkout>false</no_proceed_checkout><no_quantity>true</no_quantity><no_quantity_v2>true</no_quantity_v2><no_save_as_draft>true</no_save_as_draft><no_search>false</no_search><no_wishlist_v2>false</no_wishlist_v2><omit_price>false</omit_price><order>0</order><ordered_item_link/><owner display_value="System Administrator">6816f79cc0a8016401c5a33be04be441</owner><picture/><preview>JavaScript: popupOpenStandard("com.glideapp.servicecatalog_cat_item_view.do?v=1&amp;sysparm_id=6723261bc3c01310acaaf64d05013123&amp;sysparm_preview=true", "summary");</preview><price>0</price><published_ref/><recurring_frequency/><request_method/><roles/><sc_catalogs>e0d08b13c3330100c8b837659bba8fb4</sc_catalogs><sc_ic_item_staging/><sc_ic_version/><sc_template/><short_description>New certificate issued by PKIFactor, from the profiles allowed for the person</short_description><show_variable_help_on_load>false</show_variable_help_on_load><start_closed>false</start_closed><state/><sys_class_name>sc_cat_item</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:39</sys_created_on><sys_id>6723261bc3c01310acaaf64d05013123</sys_id><sys_mod_count>17</sys_mod_count><sys_name>Request a certificate</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sc_cat_item_6723261bc3c01310acaaf64d05013123</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-26 01:13:39</sys_updated_on><taxonomy_topic/><template/><template_manager_roles/><type>item</type><use_sc_layout>true</use_sc_layout><vendor/><version>17</version><visible_bundle>true</visible_bundle><visible_guide>true</visible_guide><visible_standalone>true</visible_standalone><workflow/></sc_cat_item><sys_translated_text action="delete_multiple" query="documentkey=6723261bc3c01310acaaf64d05013123"/><fx_price action="delete_multiple" query="id=6723261bc3c01310acaaf64d05013123"/><fx_price action="INSERT_OR_UPDATE"><amount>0</amount><currency display_value="USD">USD</currency><field>price</field><id>6723261bc3c01310acaaf64d05013123</id><parent/><reference_amount>0</reference_amount><reference_currency display_value="USD">USD</reference_currency><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:39</sys_created_on><sys_id>6f23261bc3c01310acaaf64d0501313e</sys_id><sys_mod_count>0</sys_mod_count><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-25 23:36:39</sys_updated_on><table>sc_cat_item</table><type>calculated</type></fx_price></record_update>]]></payload>
<payload_hash>-191401991</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>f27e3697c3c41310acaaf64d0501314a</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d8225b0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Request a certificate</target_name>
<type>Catalog Item</type>
<update_domain>global</update_domain>
<update_guid>771ef65766c413109b404cc08a8592d1</update_guid>
<update_guid_history>771ef65766c413109b404cc08a8592d1:-191401991,6069f2db6d8413103b64748facc995a2:-191401991,1c367ad3a1841310fce8dafbcf4fa9d2:-2075658245,8c367ad34a8413105516775ed109299b:-371027398,88367ad333841310a69f0e482549397e:1333603449,4c367ad36b8413108c692d5d164d7d6d:-1256733000,00367ad32284131008ad46a63e93fd5d:447897847,44367ad3ed84131088021734fbe27c3f:-2142438602,c4367ad385841310e9eb792b09d05a26:-437807755,d606b2d3b9841310f74a7372873b51db:-1513753764,f03b2e5b6a041310fd21b8620a743058:883029030,7323261bffc01310bb50076e71d01bf6:519656985,bb23261b0ec01310ad32ba6b5b6486e2:-2070679464,fb23261b09c013109b57114cfef0a6d1:-366048617,bf23261bd8c01310e29bffc39b6105a7:1338582230,3323261b3dc01310d419017dcd424f6b:-2137459821,7b23261be8c01310a1649b9f6a795d96:-1251754219,af23261beac01310662bc9ed8fbebd82:452876628,e323261bbfc01310b358e92e02e77e63:499008437</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_0033661bc3c01310acaaf64d05013154</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Renew a certificate"&gt;b723261bc3c01310acaaf64d050131fd&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value/&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;csr&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;300&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;New certificate signing request (CSR, PEM)&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference/&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;0033661bc3c01310acaaf64d05013154&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;New certificate signing request (CSR, PEM)&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_0033661bc3c01310acaaf64d05013154&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:42&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;2&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=0033661bc3c01310acaaf64d05013154"/&gt;&lt;fx_price action="delete_multiple" query="id=0033661bc3c01310acaaf64d05013154"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;0033661bc3c01310acaaf64d05013154&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;c433661bc3c01310acaaf64d0501315e&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;0033661bc3c01310acaaf64d05013154&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:40&lt;/sys_created_on&gt;&lt;sys_id&gt;4833661bc3c01310acaaf64d0501315d&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:40&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>-1507604711</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>f67e3697c3c41310acaaf64d05013146</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d822a30000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>New certificate signing request (CSR, PEM)</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>371ef657a9c413109dd20d3f42dcfbdb</update_guid>
<update_guid_history>371ef657a9c413109dd20d3f42dcfbdb:-1507604711,d436bad3d9841310205b8c13189a2713:-1507604711,c833661b27c01310019733f8823ba862:276799956</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_properties_2623621bc3c01310acaaf64d0501310d</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_properties"><sys_properties action="INSERT_OR_UPDATE"><choices/><description>Adresse de l'API entrante de PKIFactor (…/api/integrations/servicenow)</description><ignore_cache>false</ignore_cache><is_private>false</is_private><name>x_pkifactor.base_url</name><read_roles/><suffix/><sys_class_name>sys_properties</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:34</sys_created_on><sys_id>2623621bc3c01310acaaf64d0501310d</sys_id><sys_mod_count>2</sys_mod_count><sys_name>x_pkifactor.base_url</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_properties_2623621bc3c01310acaaf64d0501310d</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-26 00:30:40</sys_updated_on><type>string</type><value>https://clm.example.com/api/integrations/servicenow</value><write_roles/></sys_properties><sys_translated_text action="delete_multiple" query="documentkey=2623621bc3c01310acaaf64d0501310d"/></record_update>]]></payload>
<payload_hash>209999626</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>f67e3697c3c41310acaaf64d0501314b</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823a80000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>x_pkifactor.base_url</target_name>
<type>System Property</type>
<update_domain>global</update_domain>
<update_guid>fb1ef65725c413100ebb0be930c25bfc</update_guid>
<update_guid_history>fb1ef65725c413100ebb0be930c25bfc:209999626,138f2617c74413105555cf3daeb9fd4c:209999626,d6de629390441310a66c3531d4b96358:-376691797,b223a21b09c01310eb5be3dadf7f5158:209999626</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_properties_d323e21bc3c01310acaaf64d05013177</name>
<payload><![CDATA[<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_properties"><sys_properties action="INSERT_OR_UPDATE"><choices/><description>Délai d'attente des appels PKIFactor (secondes)</description><ignore_cache>false</ignore_cache><is_private>false</is_private><name>x_pkifactor.timeout_s</name><read_roles/><suffix/><sys_class_name>sys_properties</sys_class_name><sys_created_by>admin</sys_created_by><sys_created_on>2026-10-25 23:36:37</sys_created_on><sys_id>d323e21bc3c01310acaaf64d05013177</sys_id><sys_mod_count>0</sys_mod_count><sys_name>x_pkifactor.timeout_s</sys_name><sys_package display_value="Global" source="global">global</sys_package><sys_policy/><sys_scope display_value="Global">global</sys_scope><sys_update_name>sys_properties_d323e21bc3c01310acaaf64d05013177</sys_update_name><sys_updated_by>admin</sys_updated_by><sys_updated_on>2026-10-25 23:36:37</sys_updated_on><type>string</type><value>60</value><write_roles/></sys_properties><sys_translated_text action="delete_multiple" query="documentkey=d323e21bc3c01310acaaf64d05013177"/></record_update>]]></payload>
<payload_hash>1936506564</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>f67e7697c3c41310acaaf64d05013120</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823f20000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>x_pkifactor.timeout_s</target_name>
<type>System Property</type>
<update_domain>global</update_domain>
<update_guid>bf1e3a579bc41310967772e86dd1ce08</update_guid>
<update_guid_history>bf1e3a579bc41310967772e86dd1ce08:1936506564,9323e21b92c01310f68e8822caacccd8:1936506564</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_7b23261bc3c01310acaaf64d0501318f</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Request a certificate"&gt;6723261bc3c01310acaaf64d05013123&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value/&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;profil&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;200&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Certificate profile&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference/&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;7b23261bc3c01310acaaf64d0501318f&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Certificate profile&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_7b23261bc3c01310acaaf64d0501318f&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:41&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;5&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=7b23261bc3c01310acaaf64d0501318f"/&gt;&lt;fx_price action="delete_multiple" query="id=7b23261bc3c01310acaaf64d0501318f"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;7b23261bc3c01310acaaf64d0501318f&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;3323261bc3c01310acaaf64d0501319a&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:39&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;7b23261bc3c01310acaaf64d0501318f&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;b323261bc3c01310acaaf64d05013199&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:39&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>1790285604</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>fa7e3697c3c41310acaaf64d05013147</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d823020000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Certificate profile</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>331ef657c6c413105f0ed563a6875be7</update_guid>
<update_guid_history>331ef657c6c413105f0ed563a6875be7:1790285604,84367ad37784131023de686e242d2362:1790285604,bb23261bc0c01310f620d0d238d81c9e:552457994</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>sys_ws_operation_5833a61bc3c01310acaaf64d05013161</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="sys_ws_operation"&gt;&lt;sys_ws_operation action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;consumes&gt;application/json,application/xml,text/xml&lt;/consumes&gt;&lt;consumes_customized&gt;false&lt;/consumes_customized&gt;&lt;default_operation_uri/&gt;&lt;enforce_acl/&gt;&lt;http_method&gt;POST&lt;/http_method&gt;&lt;name&gt;note&lt;/name&gt;&lt;operation_script&gt;&lt;![CDATA[/*
 * ServiceNow : ressource REST « note de ticket » (API scriptée globale « PKIFactor Ticket Feedback »,
 * POST /api/&lt;espace&gt;/pkifactor_feedback/note), réservée au rôle de l'application PKIFactor.
 * ÉPROUVÉ sur une instance Zurich (patch 10) le 26/10/2026.
 *
 * Permet à PKIFactor d'écrire « certificat émis » ou « révoqué » dans le ticket d'origine SANS que
 * son compte de service ait le droit de lire les tickets du catalogue (pas de rôle itil) : la
 * ressource n'accepte que les tickets issus des articles PKIFactor (x_pkifactor.catalog_items).
 * Corps : { "ticket_number": "RITM0010023", "note": "..." }.
 */
(function process(request, response) {
    if (!gs.hasRole('x_2273904_pkifac_0.api_user')) {   // rôle de l'application PKIFactor (adapter le préfixe)
        response.setStatus(403);
        return { error: 'rôle requis' };
    }
    var b = request.body.data || {};
    var numero = String(b.ticket_number || '');
    var note = String(b.note || '');
    if (!/^RITM\d{4,}$/.test(numero) || !note || note.length &gt; 4000) {
        response.setStatus(400);
        return { error: 'ticket_number (RITM...) et note (1 à 4000 caractères) requis' };
    }
    var articles = [];
    var cfg = gs.getProperty('x_pkifactor.catalog_items', '').split(',');
    for (var i = 0; i &lt; cfg.length; i++) {
        var p = cfg[i].split(':');
        if (p.length === 2) articles.push(p[1]);
    }
    var r = new GlideRecord('sc_req_item');
    r.addQuery('number', numero);
    r.query();
    if (!r.next() || articles.indexOf(String(r.cat_item)) &lt; 0) {
        response.setStatus(404);                 // même réponse : inexistant ou hors périmètre PKIFactor
        return { error: 'ticket inconnu' };
    }
    r.work_notes = note;
    if (/émis|issued/i.test(note) &amp;&amp; String(r.state) !== '3') r.setValue('state', 3);
    r.update();
    return { result: { ticket_number: numero, sys_id: r.getUniqueValue(), action: 'noted' } };
})(request, response);
]]&gt;&lt;/operation_script&gt;&lt;operation_uri&gt;/api/2273904/pkifactor_feedback/note&lt;/operation_uri&gt;&lt;produces&gt;application/json,application/xml,text/xml&lt;/produces&gt;&lt;produces_customized&gt;false&lt;/produces_customized&gt;&lt;relative_path&gt;/note&lt;/relative_path&gt;&lt;request_example/&gt;&lt;requires_acl_authorization&gt;false&lt;/requires_acl_authorization&gt;&lt;requires_authentication&gt;true&lt;/requires_authentication&gt;&lt;requires_snc_internal_role&gt;true&lt;/requires_snc_internal_role&gt;&lt;short_description/&gt;&lt;sys_class_name&gt;sys_ws_operation&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:42&lt;/sys_created_on&gt;&lt;sys_id&gt;5833a61bc3c01310acaaf64d05013161&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_name&gt;note&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;sys_ws_operation_5833a61bc3c01310acaaf64d05013161&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:42&lt;/sys_updated_on&gt;&lt;web_service_definition display_value="PKIFactor Ticket Feedback"&gt;dc33a61bc3c01310acaaf64d05013155&lt;/web_service_definition&gt;&lt;web_service_version/&gt;&lt;/sys_ws_operation&gt;&lt;/record_update&gt;</payload>
<payload_hash>1129664857</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>fa7e7697c3c41310acaaf64d05013121</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d822270000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>note</target_name>
<type>Scripted REST Resource</type>
<update_domain>global</update_domain>
<update_guid>b31ef657bcc41310944a524cdeda99ca</update_guid>
<update_guid_history>b31ef657bcc41310944a524cdeda99ca:1129664857,d433a61b75c0131058812b40acbc2374:1129664857</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
<sys_update_xml action="INSERT_OR_UPDATE">
<action>INSERT_OR_UPDATE</action>
<application display_value="Global">global</application>
<category>customer</category>
<comments/>
<name>item_option_new_bf23261bc3c01310acaaf64d050131a0</name>
<payload>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;record_update table="item_option_new"&gt;&lt;item_option_new action="INSERT_OR_UPDATE"&gt;&lt;active&gt;true&lt;/active&gt;&lt;attributes/&gt;&lt;cat_item display_value="Request a certificate"&gt;6723261bc3c01310acaaf64d05013123&lt;/cat_item&gt;&lt;category/&gt;&lt;choice_direction&gt;down&lt;/choice_direction&gt;&lt;choice_field/&gt;&lt;choice_table/&gt;&lt;conversational_label/&gt;&lt;create_roles/&gt;&lt;default_html_value/&gt;&lt;default_value/&gt;&lt;delete_roles/&gt;&lt;delivery_plan/&gt;&lt;description/&gt;&lt;disable_initial_slot_fill&gt;false&lt;/disable_initial_slot_fill&gt;&lt;display_title&gt;false&lt;/display_title&gt;&lt;do_not_select_first&gt;false&lt;/do_not_select_first&gt;&lt;dynamic_default_value/&gt;&lt;dynamic_ref_qual/&gt;&lt;dynamic_value_dot_walk_path/&gt;&lt;dynamic_value_field/&gt;&lt;enable_also_request_for&gt;false&lt;/enable_also_request_for&gt;&lt;example_text/&gt;&lt;field/&gt;&lt;global&gt;false&lt;/global&gt;&lt;help_tag&gt;More information&lt;/help_tag&gt;&lt;help_text/&gt;&lt;hidden&gt;false&lt;/hidden&gt;&lt;include_none&gt;false&lt;/include_none&gt;&lt;instructions/&gt;&lt;layout&gt;normal&lt;/layout&gt;&lt;list_table/&gt;&lt;lookup_dependent_question/&gt;&lt;lookup_label/&gt;&lt;lookup_price/&gt;&lt;lookup_source/&gt;&lt;lookup_table/&gt;&lt;lookup_unique&gt;false&lt;/lookup_unique&gt;&lt;lookup_value/&gt;&lt;macro/&gt;&lt;macroponent/&gt;&lt;mandatory&gt;true&lt;/mandatory&gt;&lt;map_to_field&gt;false&lt;/map_to_field&gt;&lt;mask_use_confirmation&gt;false&lt;/mask_use_confirmation&gt;&lt;mask_use_encryption&gt;false&lt;/mask_use_encryption&gt;&lt;name&gt;nom_commun&lt;/name&gt;&lt;not_available_conversation&gt;false&lt;/not_available_conversation&gt;&lt;order&gt;300&lt;/order&gt;&lt;post_insert_script/&gt;&lt;price_if_checked&gt;0&lt;/price_if_checked&gt;&lt;pricing_implications&gt;false&lt;/pricing_implications&gt;&lt;published_ref/&gt;&lt;question_text&gt;Common name (CN)&lt;/question_text&gt;&lt;read_only&gt;false&lt;/read_only&gt;&lt;read_roles/&gt;&lt;read_script/&gt;&lt;rec_lookup_price/&gt;&lt;rec_price_if_checked&gt;0&lt;/rec_price_if_checked&gt;&lt;record/&gt;&lt;record_producer_table/&gt;&lt;reference/&gt;&lt;reference_qual/&gt;&lt;reference_qual_condition/&gt;&lt;rich_text/&gt;&lt;roles_to_use_also_request_for/&gt;&lt;save_script&gt;&lt;![CDATA[/** This script is executed before the Record is generated
* `current`- GlideRecord produced by Record Producer
* Don't use `current.update()` or `current.insert()` as the record is generated by Record Producer
* Don't use `current.setValue('sys_class_name', 'xxx')` as this will trigger reparent flow and can cause data loss
* Avoid `current.setAbortAction()` and generate a separate record
* Use `producer.var1` to access variables
*/]]&gt;&lt;/save_script&gt;&lt;scale_max&gt;5&lt;/scale_max&gt;&lt;scale_min&gt;0&lt;/scale_min&gt;&lt;show_help&gt;false&lt;/show_help&gt;&lt;show_help_on_load&gt;false&lt;/show_help_on_load&gt;&lt;sp_widget/&gt;&lt;summary_macro/&gt;&lt;sys_class_name&gt;item_option_new&lt;/sys_class_name&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;bf23261bc3c01310acaaf64d050131a0&lt;/sys_id&gt;&lt;sys_mod_count&gt;1&lt;/sys_mod_count&gt;&lt;sys_name&gt;Common name (CN)&lt;/sys_name&gt;&lt;sys_package display_value="Global" source="global"&gt;global&lt;/sys_package&gt;&lt;sys_policy/&gt;&lt;sys_scope display_value="Global"&gt;global&lt;/sys_scope&gt;&lt;sys_update_name&gt;item_option_new_bf23261bc3c01310acaaf64d050131a0&lt;/sys_update_name&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-26 00:59:42&lt;/sys_updated_on&gt;&lt;table/&gt;&lt;tooltip/&gt;&lt;topic_block/&gt;&lt;type&gt;6&lt;/type&gt;&lt;ui_page/&gt;&lt;unique&gt;false&lt;/unique&gt;&lt;use_dynamic_default&gt;false&lt;/use_dynamic_default&gt;&lt;use_reference_qualifier&gt;simple&lt;/use_reference_qualifier&gt;&lt;validate_regex/&gt;&lt;variable_name/&gt;&lt;variable_set/&gt;&lt;variable_width/&gt;&lt;visibility&gt;1&lt;/visibility&gt;&lt;visible_bundle&gt;true&lt;/visible_bundle&gt;&lt;visible_guide&gt;true&lt;/visible_guide&gt;&lt;visible_standalone&gt;true&lt;/visible_standalone&gt;&lt;visible_summary&gt;true&lt;/visible_summary&gt;&lt;write_roles/&gt;&lt;/item_option_new&gt;&lt;sys_translated_text action="delete_multiple" query="documentkey=bf23261bc3c01310acaaf64d050131a0"/&gt;&lt;fx_price action="delete_multiple" query="id=bf23261bc3c01310acaaf64d050131a0"/&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;price_if_checked&lt;/field&gt;&lt;id&gt;bf23261bc3c01310acaaf64d050131a0&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;7723261bc3c01310acaaf64d050131ab&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:39&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;fx_price action="INSERT_OR_UPDATE"&gt;&lt;amount&gt;0&lt;/amount&gt;&lt;currency display_value="USD"&gt;USD&lt;/currency&gt;&lt;field&gt;rec_price_if_checked&lt;/field&gt;&lt;id&gt;bf23261bc3c01310acaaf64d050131a0&lt;/id&gt;&lt;parent/&gt;&lt;reference_amount&gt;0&lt;/reference_amount&gt;&lt;reference_currency display_value="USD"&gt;USD&lt;/reference_currency&gt;&lt;sys_created_by&gt;admin&lt;/sys_created_by&gt;&lt;sys_created_on&gt;2026-10-25 23:36:39&lt;/sys_created_on&gt;&lt;sys_id&gt;f723261bc3c01310acaaf64d050131aa&lt;/sys_id&gt;&lt;sys_mod_count&gt;0&lt;/sys_mod_count&gt;&lt;sys_updated_by&gt;admin&lt;/sys_updated_by&gt;&lt;sys_updated_on&gt;2026-10-25 23:36:39&lt;/sys_updated_on&gt;&lt;table&gt;item_option_new&lt;/table&gt;&lt;type&gt;calculated&lt;/type&gt;&lt;/fx_price&gt;&lt;/record_update&gt;</payload>
<payload_hash>-1640271436</payload_hash>
<remote_update_set display_value="PKIFactor - Catalog integration 1.0">b27e3697c3c41310acaaf64d05013145</remote_update_set>
<replace_on_upgrade>false</replace_on_upgrade>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2026-10-26 01:35:55</sys_created_on>
<sys_id>fe7e3697c3c41310acaaf64d05013148</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_recorded_at>1a175d8235a0000001</sys_recorded_at>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2026-10-26 01:35:55</sys_updated_on>
<table/>
<target_name>Common name (CN)</target_name>
<type>Variable</type>
<update_domain>global</update_domain>
<update_guid>331ef65780c413101e94d3831e9db9f2</update_guid>
<update_guid_history>331ef65780c413101e94d3831e9db9f2:-1640271436,c0367ad3608413105339f5b75bb1b573:-1640271436,7b23261b51c013107bcf9b82442a50af:-120451460</update_guid_history>
<update_set display_value=""/>
<view/>
</sys_update_xml>
</unload>
