Question


Eviden
NL
Last activity: 18 Oct 2022 2:49 EDT
Creating a case via api causes validation errors on pyWorkParty(Customer)
Creating a case via api causes validation errors on pyWorkParty(Customer) -> email, lastname and such.
However, no workparty is required during case creating.
Please help!
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Lventur
IN
@Bob Reawaruw In case type - work party rule (pyCaseManagementDefault), please check required checkbox for all different work-parties is not selected.
If the required check-box was selected then while creating the case Pega will validate work-party is avail inside case, if not then Pega will throw error.


Eviden
NL
@Gunasekaran BaskaranEarlier, I have deleted all entries. Thus, there are no parties required..


Lventur
IN
Yes, if you have removed all parties then system will not try to initialize a new work party during case creation.
Basically, pyCaseManagementDefault rule is the root of work party in Pega.


Lventur
IN
Yes, if you have removed all parties then system will not try to initialize a new work party during case creation.
Basically, pyCaseManagementDefault rule is the root of work party in Pega.


NCS Pte. Ltd
SG
Hi @BobReawaruw: Can you please share the steps which you are following in the API activity? Also please check in your case type if a work party is defined and Customer work party is defined as required.
Thanks.


Eviden
NL
@ArulDevan Just doing a simple create case via the API page of the application. Or via postman using the same API call url.


NCS Pte. Ltd
SG
Hi @BobReawaruw: Can you check the option suggested by Gunasekharan?
If there are no parties available in your case type rule, can you trace the service rule to find the error?
Thanks