Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing state to a Call Activity has error when creating EntityLinks #3829

Open
glclin opened this issue Jan 26, 2024 · 0 comments
Open

Changing state to a Call Activity has error when creating EntityLinks #3829

glclin opened this issue Jan 26, 2024 · 0 comments

Comments

@glclin
Copy link

glclin commented Jan 26, 2024

We have encountered an issue with changing process state to a Call Activity when "enableEntityLinks" is set to false. The error occurs at org.flowable.engine.impl.dynamic.AbstractDynamicStateManager:createCallActivityInstance line:969

ExecutionEntity subProcessInstance = executionEntityManager.createSubprocessInstance(subProcessDefinition, parentExecution, businessKey, initialActivityId); EntityLinkUtil.createEntityLinks(parentExecution.getProcessInstanceId(), parentExecution.getId(), callActivity.getId(), subProcessInstance.getId(), ScopeTypes.BPMN); CommandContextUtil.getActivityInstanceEntityManager(commandContext).recordSubProcessInstanceStart(parentExecution, subProcessInstance);

It appears that a check of "enableEntityLinks" is required before calling "createEntityLinks".

This issue affects version 6.8 of the Flowable engine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant