Posted: 23 Nov 2020 5:04 EST Last activity: 27 Nov 2020 12:25 EST
No pyStartCase flow in 8.5 case type
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: 4 months ago
Updated: 4 months ago
Posted: 27 Nov 2020 12:24 EST Updated: 27 Nov 2020 12:25 EST