Idea to Project conversion system action errors
search cancel

Idea to Project conversion system action errors

book

Article ID: 423282

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

  • A Process that has a System Action to convert Ideas to Projects is triggered
  • It errors out randomly
  • There are quite a few other Processes that get triggered in parallel and try to work on the same Idea-Project combination, via Gel Scripts and other actions
  • When the System Action errors out, following is the error message:
    • com.niku.union.odf.exception.ODFValidationException: Error copying custom attributes from idea to project.
  • Following is the error stack from bg-ca.log:
    • ERROR 2023-11-12 10:00:00,366 [Action Execution Pipeline 0 (tenant=clarity)] niku.xql2 (clarity:user:session:none) () Exception while copying custom attributes from idea to project
      com.niku.union.odf.exception.ODFException: idea: idea: An exception occurred while trying to update an object instance project
       at com.niku.odf.object.copyengine.CopyEngine.copy(CopyEngine.java:484)
       at com.niku.odf.object.copyengine.CopyEngine.copy(CopyEngine.java:405)
       at com.niku.projmgr.xql2.handlers.CopyCustomAttributesFromProjectToIdeaHandler.preProcess(CopyCustomAttributesFromProjectToIdeaHandler.java:79)
       at

Resolution

Redesign the custom implementation in such a fashion that other Processes that trigger in parallel, do not cause conflicts with the Process that has the conversion system action.