HR Case gets cancelled along with activity sets "XYZ" activity set state changed to Error because a

service buzz
Tera Contributor

Hi Team,

 

I have three activity sets defined for a HR Case where when the case is  created via postman the cases are getting cancelled and activity sets also gets cancelled .It displays the following error in the case forms

 

"XYZ" activity set state changed to Error because a workflow was cancelled.

 

if the case is getting created via POrtal then there is no issue its working fine the state is going to ready.

 

please help me how to figure out the issue?

4 REPLIES 4

James Chun
Kilo Patron

Hi @service buzz,

 

Which REST API are you using to create the HR Case?

 

Cheers

abirakundu23
Mega Sage

Hi @service buzz ,

Which REST API are you using? Is there mentioned state condition?

Coud you please share screenshots for better understanding? 

service buzz
Tera Contributor

Hi ,

Thanks for your response.

we are using scripted rest API.

@service buzz can you confirm how is the case creation coded in Scripted Rest API? You need to write the code to auto submit the Onboarding record producer when API is called. API should contain the input parameters that needs to be populated in record producer.