-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I run the workflow , such as: flow.Run(), flow.netStep() ? When I have run [ Documents.New ] and [ Documents.setState ] , there is not data in tabale [wf_documents_001] . #101
Comments
When I have run [ Documents.New ] and [ Documents.setState ] , there is not data in tabale [wf_documents_001] . How can I run the workflow , such as: flow.Run(), flow.netStep() ? func (this *WFApi) WorkflowsCreate() {
} |
Thanks for your interest @yuedefeng ! I am travelling currently. Please allow me until tomorrow to respond. |
Thanks for your support, waiting for you |
A quick note: // This method is not exported. It is used internally by `Workflow`
// to move the document along the workflow, into a new document state. A A The node applies the given document action to transition the document into the target state of the action. These transitions are defined for document types. Please see |
Please print the value of Also, in: documentID1, _ := Documents.New(tx, &docNewInput) don't discard the error. Please see if there is any error reported, and let me know. |
@yuedefeng : ping!! |
Documents.New has no error. But when I run the DocEvents.New, the error [sql: Scan error on column index 4, name 'ctime':unsupported Scan, storing driver.Value type []uint8] . the following is my code: func (this *WFApi) WorkflowsNext() {
} |
There is a bug, workflow.go[line: 371], less a '?' |
All of the 'ctime' has the same error, I have change the sql: /q := |
As per the documentation at https://github.com/go-sql-driver/mysql/#timetime-support:
Please append |
Ouch! I see that I have not merged a few ad hoc fixes back. Thanks for spotting this! I shall do a diff on the local copy, and review these ad hoc changes. |
How can I add data to datatable [wf_docstate_transitions] ? tstate, ok := ts[event.Action] |
where is the step history of the workflow ? |
Please open new issues for additional bugs/questions. |
How can I Use it , can you give me a demo ?
The text was updated successfully, but these errors were encountered: