-- main table # SELECT id, name, description, definition, owner, creationtime, finished, cm from @main@ where id=-1 # -- step # select id, wfid, wfstepid, state, returnCode, tries from @step@ where id=-1 # -- task # select id, stepid, state from @task@ where id=-1 # -- task principal # select taskid, principal from @principal@ where taskid=-1 # -- task history # select taskid, actor, principal, state, action, changetime, taskcomment from @history@ where taskid=-1 #