Space allocation to an entity post scenario plan is deployed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2025 06:30 AM
Hello Developers,
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.
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.
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.
I found the scripted API from where scenario is deployed: /api/sn_wsd_spcmgmt/scenario_plan/deploy_scenario
which calls: WPScPlanDeploymentServiceSNC().Deploy Scenario -> Validates scenario-> Calls event: sn_wsd_spcmgmt.create_execution_cases_sp-> Event action : Create execution cases for SP is called->WPScPlanDeploymentService().generateExecutionCasesOnScenarioDeployment(scenario plan) ----->>>> till scenario plan execution details is created.
However, the flow which is handling allocation creation in unknown to me in this module.
Would really appreciate if someone having insights to this module and is aware of this configuration could share the knowledge.
Thanks in Advance!
Diksha