Hi, I have created a new case type in 8.5 and found that Pega is creating a stage "Create" by default, this can edited but cannot be deleted. I also found that, "pyStartCase" is no longer present in 8.5.
I have a scenario to create case from an activity. What is the flow name to use if I want to create a case?
I have tried creating new case from activity and it got created successfully. Below are the two approaches that I just tried.
1. Activity NewFromFlow (Work-) with parameters InsClass as class to create case for and FlowType as Param.FlowType (which is blank). This will override pyWorkPage if your activity is running in pyWorkPage context
2. Used Call createWorkPage with InsClass as class to create case for and workPage as a temporary page. This call will be followed by Call AddWork and then commit (as in image 2)
3. Or if your activity is another work context and want to create a standalone case or child, from your activity, you can use Call startFlow > pass your custom flow name to flowType, flowName parameters. In the flow, add create case smart shape
Posted: 8 months ago
Updated: 8 months ago
Posted: 27 Nov 2020 12:24 EST Updated: 27 Nov 2020 12:25 EST