Scheduled task encounter error when updating page

dev t asked on March 8, 2023 10:44

The error encountered shows the "Given Node is checked out by another user at CMS.DocumentEngine.WorkflowManager.GetCurrentStepInterval" But have checked the checked-out item in the admin application , it is nothing shown.

Correct Answer

Juraj Ondrus answered on March 13, 2023 12:12

I would recommend checking the API examples on this topic and adjust your code to take the checked out pages into account.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on March 8, 2023 13:11

What version and hotfix are you using? What scheduled task is throwing the error and what is the whole error, with stack trace please? The checked-out items usually displays items checked out by current user. Have you checked all users? I would check pages as the error is from Workflow and only pages can be under workflow.

0 votesVote for this answer Mark as a Correct answer

dev t answered on March 9, 2023 02:07 (last edited on March 9, 2023 02:08)

Hi, I am using kentico v12, not apply hotfix yet. It is a custom scheduled task, used to update custom table data and it loads from a page. "The checked-out items usually displays items checked out by current user." If I am using a global admin to login , it will shows the items checked out by current user only?

the full stack trace

link text

0 votesVote for this answer Mark as a Correct answer

dev t answered on March 9, 2023 14:43

May I know if there is any way to force uncheck out all the items? so the task can run without error.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.