Form key reference

Hi,

I’m facing a problem with formService.getRenderedStartForm(processId)
I’ve got the message:
org.flowable.engine.common.api.FlowableObjectNotFoundException: Form with formKey 'someformkey' does not exist

Debugging I found a line in ACT_GE_BYTEARRAY with NAME_ = form-someformkey.form
Why the application adds “form-” and “.form” and doesn’t find the form like debug message:

DEBUG org.flowable.engine.impl.persistence.entity.ResourceEntityImpl.selectResourceByDeploymentIdAndResourceName - ==>  Preparing: select
 * from ACT_GE_BYTEARRAY where DEPLOYMENT_ID_ = ? AND NAME_ = ? 
05-04-2017 10:46:48 [http-nio-8080-exec-9] DEBUG org.flowable.engine.impl.persistence.entity.ResourceEntityImpl.selectResourceByDeploymentIdAndResourceName - ==> Parameters: 40031(
String), someformkey(String)
05-04-2017 10:46:48 [http-nio-8080-exec-9] DEBUG org.flowable.engine.impl.persistence.entity.ResourceEntityImpl.selectResourceByDeploymentIdAndResourceName - <==      Total: 0

Hi,

Could you share the application you created, so we can try to reproduce the issue?

Thanks,

Tijs

Hi,

You could get the project at:

https://intranet.mpgo.mp.br/share/s/RESZI6-ySR2LPRnsbFgjWQ

Thanks,

Carlos Alberto

Hi Carlos Alberto,

I don’t see any BPMN XML in your application. Can you point me to the BPMN XML you are having the issue with?

Best regards,

Tijs

Hi,

This is the BPMN XML I’m using:

https://intranet.mpgo.mp.br/share/s/g19P1MTDTuCN9Dy9jXMEiQ

Best regards,

Carlos Alberto