I have a requirement where a guest user wants to register into the application. He will give his username password and after he clicks submit, his operator account will be created. And at the same time in the next step I want to create a case which has to be in the newly created operator’s worklist when he logs in. It shouldn’t show up in the previous case. The case should be initiated in the background. What should I do? I’m using Pega 24’ Constellation.
Hi @eswac,
For implementing above requirement you can follow below steps :
- Create a customer profile data table that stores the login details for the guest(user, pass and operatorID)
- When guest provides login details, do lookup in customer profile table with login details.
- If found then fetch the operator ID from table and store in param.
- If not found, create new operator using login details and push the entry in customer profile table.(You can make use of CreateOperator OOTB activity for this)
- Create the using any OOTB activity(ex- svcAddWorkObject)
- in the next step using router activity toWorklist to route the case to created or existing operator.
Hope it helps
Thanks, Ankit
Hi @im-ankit
Thank you so much for the implementation steps for my requirement. It solves my requirement. Thanks for the time.
Regards, Nikhil