Get Error Message "The flow this assignment corresponds to has been removed." while reopen a work object
I get this specific error message: "The flow this assignment corresponds to has been removed." while reopen a work object. I try to reopen a work object via wrapper activity which starts with flow-new the reopen flow. After calling a flow action with the same name I get the named error message. I try to analyse the problem with the tracer and I see, that the pyWorkPage and also pxFlow of the work object is deleted by WorkUnlock. Do any bad configurations lead to this problem?
Which wrapper activity are you using ? A custom one or an existing one ? Can you try with the default Work-.Reopen ?
I guess if the case is closed, on the pyWorkPage, you shouldn't have anything on pxFlow page which is normal. I'm not sure why the WorkUnlock would be called here, I would expect the WorkLock one instead. Can you share your trace ?
I use a custom activity to start a flow. The flow is needed because of a flow action, which holds a section for choosing new values for the restarted work object. I can't call a flow action without an assignment and that's the reason for this solution. After the flow is started the pyWorkPage of the work object exists and holds pxFlow with a new entry. The pyWorkPage is deleted while starting the flow action and after finnishing the assignment.