create a temp case in pega 8.6 or higher

May I know how to create a temp case in pega 8.6 or higher, like old version?

In old version, we can use “Persist case” step and check box:

“Create temporary case that is not saved until a ‘Persist case’ step is reached”

to let the case ID gen only after 1st stage (1st Primary stage) submitted.

But in 8.6, the case ID will be always gen once case created (enter Initialization stage)

@MaxonL16591286 open the case type pyDefault rule and go to Advanced Tab and enable the temporary case check box. But pega not recommending the temporary case future from 8.6 and above version.

@MaxonL16591286 please see the answer in other forum question Temporary case creation

I believe you are referring to the functionality as documented in Creating Temporary Cases and Persisting Temporary Cases.

“You can only create a temporary case for case types without the default Create stage. Case types that you create in Pega Platform 8.5 and later have the Create stage included by default. You can only create a temporary case for case types that you migrate from Pega Platform 8.4 or earlier. For more information, see The Create stage.”

Also see The Create stage FAQ

“If your business scenario absolutely requires creating temporary cases, you can create a temporary case on a case type rule form in Dev Studio.(…)”

We have requested our documentation team for a technical explanation on why temporary cases are now deprecated. (FDBK-82664 and US-443539 )