Question

5
Replies
645
Views
Guilherme Valino (GuiValino1984)
Capgemini
Lead System Architect
Capgemini
BR
GuiValino1984 Member since 2016 20 posts
Capgemini
Posted: January 9, 2019
Last activity: January 10, 2019
Posted: 9 Jan 2019 9:08 EST
Last activity: 10 Jan 2019 7:20 EST
Closed

How fields you should use when create a service that use pyStartCase to create Case ?

I am designing to create a service in PEGA, which allows external systems to create separate cases. When I use the Service Wizard, I am selecting the "Create and Manage work" option and creating a service rule of type SOAP. To enable the case creation, I am selecting the flow type pyStartCase


When I run my service, I can generate the case, creating the instance, however, on return of service comes the following message:



<pyAssignmentList>

<pyAssignedTo>BrokenProcesses</pyAssignedTo>

<pyAssignmentClass>Assign-WorkBasket</pyAssignmentClass>

<pyAssignmentHandle>ASSIGN-WORKBASKET BS-FW-CALCULOPREMIO-WORK POC-3!FLOWPROBLEMS</pyAssignmentHandle>

<pyFlowType>FlowProblems</pyFlowType>

<pyInstructions>Repair flow configuration</pyInstructions>

</pyAssignmentList>

<pyAssignmentList>

<pyAssignedTo>default@</pyAssignedTo>

<pyAssignmentClass>Assign-Internal</pyAssignmentClass>

<pyAssignmentHandle>ASSIGN-INTERNAL BS-FW-CALCULOPREMIO-WORK POC-3!PZINTERNALCASEFLOW</pyAssignmentHandle>

<pyFlowType>pzInternalCaseFlow</pyFlowType>

<pyInstructions/>


I am designing to create a service in PEGA, which allows external systems to create separate cases. When I use the Service Wizard, I am selecting the "Create and Manage work" option and creating a service rule of type SOAP. To enable the case creation, I am selecting the flow type pyStartCase

When I run my service, I can generate the case, creating the instance, however, on return of service comes the following message:

<pyAssignmentList>
<pyAssignedTo>BrokenProcesses</pyAssignedTo>
<pyAssignmentClass>Assign-WorkBasket</pyAssignmentClass>
<pyAssignmentHandle>ASSIGN-WORKBASKET BS-FW-CALCULOPREMIO-WORK POC-3!FLOWPROBLEMS</pyAssignmentHandle>
<pyFlowType>FlowProblems</pyFlowType>
<pyInstructions>Repair flow configuration</pyInstructions>
</pyAssignmentList>
<pyAssignmentList>
<pyAssignedTo>default@</pyAssignedTo>
<pyAssignmentClass>Assign-Internal</pyAssignmentClass>
<pyAssignmentHandle>ASSIGN-INTERNAL BS-FW-CALCULOPREMIO-WORK POC-3!PZINTERNALCASEFLOW</pyAssignmentHandle>
<pyFlowType>pzInternalCaseFlow</pyFlowType>
<pyInstructions/>

What default fields must be present in the service structure, so that a Flow Problem is not generated. Or rather, should I tweak the configuration of pyStartCase, allowing it to configure the desired routing?

Thanks !

Pega Platform Enterprise Application Development Dev/Designer Studio Case Management Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.