Workflow Error | Community
Skip to main content
Level 3
August 19, 2022

Workflow Error

  • August 19, 2022
  • 3 replies
  • 1166 views

While running one workflow for one content fragment we are getting below error, which seems that fragment is locked so i have checked the status of fragment but didn't get any help. Also checked the model status which was showing fine  i.e. not locked.

17.08.2022 11:26:52.415 *ERROR* [JobHandler: /var/workflow/instances/server0/2022-08-01/vg_content_fragment_deploymentworkflow_86:/content/dam/content-fragments/caas/iot/buySellExchange/buySellExchange] com.vanguard.infra.core.workflow.ContentFragmentPreWorkflowStep Resource [/content/dam/content-fragments/caas/iot/buySellExchange/buySellExchange] is locked, Terminating workflow

 

 

 

Can someone help me here to understand the log and the solution of it.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Jagadeesh_Prakash
Community Advisor
Community Advisor
August 19, 2022

@skumari1 Can you confirm on below questions

 

can you check if any of the existing workflows are still running? 

And also do you see by any chance that the XF is locked by any other user?

Do you have enough permissions to run the workflow. 

arunpatidar
Community Advisor
Community Advisor
August 19, 2022

Can you check if this is locked ?

/content/dam/content-fragments/caas/iot/buySellExchange/buySellExchange

 

Are you locking  and unlocking the resource in your custom vg_content_fragment_deploymentworkflow workflow? 

Arun Patidar
skumari1Author
Level 3
August 22, 2022

Yes Arun, the workflow itself locking the asset, but it aborted somewhere between locking and unlocking, so It left locked. The admin user has unlocked it and then issue got resolved.

arunpatidar
Community Advisor
Community Advisor
August 22, 2022

can you check the workflow steps. and use same user for lock and unlock in wf step otherwise it will stay locked.

Arun Patidar
DEBAL_DAS
New Member
August 19, 2022

Could you please brief me about following ContentFragmentPreWorkflowStep and workflow model so that I can give a try to replicate the issue.

Debal Das, Senior AEM Consultant