Hi,
When we are having a process variable in process, it is working for the first instance of that process, on the second instance, we are getting this below exception
SEVERE: THREAD_ID=233 | HOSTNAME= | TENANT_ID=1 | org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException : “PROCESS_DEFINITION_ID=5602531715580020068 |
PROCESS_NAME=IOFPlanning | PROCESS_VERSION=1.0 | PROCESS_INSTANCE_ID=10008 | ROOT_PROCESS_INSTANCE_ID=10001 | FLOW_NODE_DEFINITION_ID=6842830455925113883 | FLOW_NODE_INSTANCE_ID=200041 | FLOW_NODE_NAME=IOF PL |
org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceCreationException: org.bonitasoft.engine.core.operation.exception.SOperationExecutionException:
org.bonitasoft.engine.operation.SEntityActionExecutionException: org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundException: Unable to find a reference to a business data named ‘timeInitiated’ of process instance 10009”
org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException: PROCESS_DEFINITION_ID=5602531715580020068 | PROCESS_NAME=IOFPlanning | PROCESS_VERSION=1.0 |
PROCESS_INSTANCE_ID=10008 | ROOT_PROCESS_INSTANCE_ID=10001 | FLOW_NODE_DEFINITION_ID=6842830455925113883 | FLOW_NODE_INSTANCE_ID=200041 | FLOW_NODE_NAME=IOF PL |
org.bonitasoft.engine.core.process.instance.api.exceptions.SProcessInstanceCreationException: org.bonitasoft.engine.core.operation.exception.SOperationExecutionException:
org.bonitasoft.engine.operation.SEntityActionExecutionException: org.bonitasoft.engine.core.process.instance.api.exceptions.business.data.SRefBusinessDataInstanceNotFoundException:
Unable to find a reference to a business data named ‘timeInitiated’ of process instance 10009
This is a callback Activity process that needs to be called from multiple processes. this ‘timeInitiated’ variable will have a script that returns the System time in milliseconds.