public void addWorkflowInstanceProperties( Vertex processInstance, WorkflowExecutionContext context) { for (WorkflowExecutionArgs instanceWorkflowProperty : INSTANCE_WORKFLOW_PROPERTIES) { addProperty(processInstance, context, instanceWorkflowProperty); } processInstance.setProperty( RelationshipProperty.VERSION.getName(), context.getUserWorkflowVersion()); }