<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Space allocation to an entity post scenario plan is deployed in WSD forum</title>
    <link>https://www.servicenow.com/community/wsd-forum/space-allocation-to-an-entity-post-scenario-plan-is-deployed/m-p/3144209#M1334</link>
    <description>&lt;P&gt;Hello Developers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on a requirement, where I need to populate start date and end date of a space allocation which is deployed from scenario plan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In out-of-the box, when scenario plan is deployed, allocation record is created in space record allocations tab showing mapped to selected entity, however, start date and end date is not populated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diksha_Tiwari1_0-1736345945308.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/411602i93E758AA3942D31C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Diksha_Tiwari1_0-1736345945308.png" alt="Diksha_Tiwari1_0-1736345945308.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is to customize this configuration and populate the start date and end date automatically. However, I am unable to find out the configuration from where this space allocation is getting created OOB, which I can customized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the scripted API from where scenario is deployed:&amp;nbsp;/api/sn_wsd_spcmgmt/scenario_plan/deploy_scenario&lt;/P&gt;&lt;P&gt;which calls: WPScPlanDeploymentServiceSNC().Deploy Scenario -&amp;gt; Validates scenario-&amp;gt; Calls event: sn_wsd_spcmgmt.create_execution_cases_sp-&amp;gt; Event action : Create execution cases for SP is called-&amp;gt;WPScPlanDeploymentService().generateExecutionCasesOnScenarioDeployment(scenario plan) -----&amp;gt;&amp;gt;&amp;gt;&amp;gt; till scenario plan execution details is created.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diksha_Tiwari1_1-1736346469402.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/411604i7421F7E2162200E7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Diksha_Tiwari1_1-1736346469402.png" alt="Diksha_Tiwari1_1-1736346469402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the flow which is handling allocation creation in unknown to me in this module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would really appreciate if someone having insights to this module and is aware of this configuration could share the knowledge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;P&gt;Diksha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 14:30:29 GMT</pubDate>
    <dc:creator>Diksha_Tiwari 1</dc:creator>
    <dc:date>2025-01-08T14:30:29Z</dc:date>
    <item>
      <title>Space allocation to an entity post scenario plan is deployed</title>
      <link>https://www.servicenow.com/community/wsd-forum/space-allocation-to-an-entity-post-scenario-plan-is-deployed/m-p/3144209#M1334</link>
      <description>&lt;P&gt;Hello Developers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on a requirement, where I need to populate start date and end date of a space allocation which is deployed from scenario plan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In out-of-the box, when scenario plan is deployed, allocation record is created in space record allocations tab showing mapped to selected entity, however, start date and end date is not populated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diksha_Tiwari1_0-1736345945308.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/411602i93E758AA3942D31C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Diksha_Tiwari1_0-1736345945308.png" alt="Diksha_Tiwari1_0-1736345945308.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My requirement is to customize this configuration and populate the start date and end date automatically. However, I am unable to find out the configuration from where this space allocation is getting created OOB, which I can customized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the scripted API from where scenario is deployed:&amp;nbsp;/api/sn_wsd_spcmgmt/scenario_plan/deploy_scenario&lt;/P&gt;&lt;P&gt;which calls: WPScPlanDeploymentServiceSNC().Deploy Scenario -&amp;gt; Validates scenario-&amp;gt; Calls event: sn_wsd_spcmgmt.create_execution_cases_sp-&amp;gt; Event action : Create execution cases for SP is called-&amp;gt;WPScPlanDeploymentService().generateExecutionCasesOnScenarioDeployment(scenario plan) -----&amp;gt;&amp;gt;&amp;gt;&amp;gt; till scenario plan execution details is created.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diksha_Tiwari1_1-1736346469402.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/411604i7421F7E2162200E7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Diksha_Tiwari1_1-1736346469402.png" alt="Diksha_Tiwari1_1-1736346469402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the flow which is handling allocation creation in unknown to me in this module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would really appreciate if someone having insights to this module and is aware of this configuration could share the knowledge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance!&lt;/P&gt;&lt;P&gt;Diksha&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 14:30:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/wsd-forum/space-allocation-to-an-entity-post-scenario-plan-is-deployed/m-p/3144209#M1334</guid>
      <dc:creator>Diksha_Tiwari 1</dc:creator>
      <dc:date>2025-01-08T14:30:29Z</dc:date>
    </item>
  </channel>
</rss>

