Classic Update to correct DCM

Hello!

I am trying to update Case DCM to the correct one, but it reverts to the initial status for that DCM instead.

I have this code we used before, but is not working properly now.

Anyone have any idea how to achieve this?

const request = Ext.create("Terrasoft.ChangeToAppropriateDcmInstanceRequest", {
	entitySchemaName: this.entitySchemaName,
	recordId: recordObj.Id
,
	currentStageId: recordObj.StageId.value
});
request.execute(scope);
Like 0

Like

1 comments

Hello, Could you please confirm if there have been any recent changes to the DCM stages or any updates made to the related code? It’s possible that modifications in the process configuration or codebase might be affecting the current behavior. Can you please provide the details of the debug?

Show all comments