@lotics/cli 0.320.1 → 0.320.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/cli.js +9 -8
- package/docs/app_bindings.md +3 -1
- package/docs/data_model.md +1 -1
- package/docs/document_templates.md +8 -4
- package/docs/workflow_steps.md +724 -0
- package/docs/workflows.md +3 -0
- package/package.json +1 -1
package/docs/workflows.md
CHANGED
|
@@ -778,6 +778,9 @@ return({ status: "success", message: "Invoiced", data: { invoice_code: made.invo
|
|
|
778
778
|
|
|
779
779
|
4. `run_app_workflow` with `dry_run: true`, then the same call without it.
|
|
780
780
|
|
|
781
|
+
To change later what it takes or hands back, send the node's change and the new body in one `set_app`, the body under
|
|
782
|
+
`workflows`.
|
|
783
|
+
|
|
781
784
|
A step wants the provider's own ids (`branch_id`, `sold_by_id`, `product_id`) and no tool lists them: declare a Workflow
|
|
782
785
|
whose body calls the provider's `list_*` workflow step (`kiotviet_list_branches`), run it, and read the ids from its answer.
|
|
783
786
|
No step lists KiotViet's users: read `sold_by_id` off a row `kiotviet_list_invoices` returns (KiotViet's `soldById`), or ask the owner.
|