State transition in HRSD

Snow-Man
Tera Contributor

Hello everyone,

 

I am pretty new to HRSD and need your help. 

I am asked to configure the state transition for HR CASE MANAGEMENT 

I would to like to know how can I create one state model and on which HRSD table so that the state lifecycle works on all HRSD cases. 

SnowMan_0-1723033552887.png

this is the SS of how states should be configured.

 

how can I do this? should I go with state models and if yes (as cases have different COEs so they are in different tables sn_hr_core_case_operations, sn_hr_core_case_payroll, sn_hr_core_case, etc) so when I am trying to make a state model for sn_hr_core_case_table, states are only working for the cases which are linked to only that particular sn_hr_core_case. 

 

Thanks in advance, 

Sorry if you find this as a silly question, haha

Snowman

5 REPLIES 5

Mark Manders
Mega Patron

Why create the same question twice within a minute? Can you give people the time to respond at least?
https://www.servicenow.com/community/developer-forum/state-transition-in-hrsd/td-p/3011868


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

it shows an error for me when I try to post it on HRSD forum, so I tried to post it on the developer forum and then I received a notification that it is posted on HRSD forum as well. My bad, sorry.

Been happening with me twice or thrice

 

Sandeep Rajput
Tera Patron
Tera Patron

@Snow-Man Ideally, the inheritance should work on state models too and you should create the state model on the parent sn_hr_core_case table. The state model defined on the sn_hr_core_case table will be used by the child tables e.g. sn_hr_core_case_operations, sn_hr_core_case_payroll etc.

I wonder why inheritance isn't working even in my pdi. If I am making State model on sn_hr_core_Case, it is working only for cases which have hr case as their task type, for other cases it is not working.....It seems like I need to make for all child tables