WorkFlow not working

Hi

i am built workflow and the write the following code in summary .net page

base.UseWorkflow = true;

base.AddWorkflowButtons("Lease");

but the workflow buttons not appear and when try to see the workflowid in the custome entity table there is nothing (Null ) value

any solution or idea can help please