The CreatorCon Call for Content is officially open! Get started here.

RestAPI create a case based off a specific record producer.

bigbacon
Giga Guru

I am not sure if this is possible to do. I can create cases using the rest API no problem but what I am trying to figure out how to do is to create a case that also uses the layout from a record producer form/Service Contract (whatever it is called). 

 

So when I create a case into the table (sn_hr_core_workforce_admin) it shows sections that it shouldn't because those sections are normally selected/shown by the service contract form that submitted the case and I am unsure how to sort of make the submitted case use the correct service contract to do whatever that would do, if that is even possible to do.

 

Edit:

I think I see how this works except it doesn't work as expected.

The form has many sections in it for this type of case. There are UI policies that are supposed to show/hide sections based on the HR Service Sys_ID being used to create the case.

 

But one of the sections always continues to show even if the hr_service being supplied in the api call to the case is used and I have no idea why this would be when the UI policy says otherwise. 

0 REPLIES 0