Space allocation to an entity post scenario plan is deployed

Diksha_Tiwari 1
Tera Contributor

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. 

Diksha_Tiwari1_0-1736345945308.png

 

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.

Diksha_Tiwari1_1-1736346469402.png

 

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

 

 

0 REPLIES 0