Added return cid in GraftWorkflow.insert