Posted: 2 Oct 2019 9:29 EDT Last activity: 10 Oct 2019 16:26 EDT
Making a child case temporary from pyDefault of the child case
I have a scenario, where we have a case type which can be created as a child case and also can be created as a stand alone case.
If it is a child case, we should be making this child case not temporary. If it is created as Standalone it should be a temporary case which in further progression of the case will be persisted.
Case 2 can be created as child from Case1 and also Case 2 can be created as a standalone. If case2 is child it should not be temporary, If case 2 is standalone then it should be temporary.
We tried circumstancing the pyStartCase of the Case2 casetype, but the same base rule is getting picked, instead of the circumstanced rule even if the property we have used in the condition has the value which would evaluate it to true.