Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.API ReferenceCLI ReferenceRelease Notes
Version: 2.3.0

tdk fn trigger

Trigger a function execution. It waits for the execution to finish with

'--wait' and returns at once with '--no-wait'; with neither, the 'tdk set --trigger-wait true|false' setting decides (default: true).

tdk fn trigger \
--proj quickstart \
--format table \
--name read_world \
--coll <function pinned.<locals>.default at 0x10b614d60> \
--plan-name my_plan* \
--wait \
--timeout timeout-example \
--profile production
FlagTypeRequiredDescription
--proj, -PstringOptionalProject to target; overrides the pinned project. Prompted for when a command needs one and neither is set.
-o, --formattable | json | yamlOptionalOutput format. 'json' and 'yaml' give a listing as an array and table data as one object per row.
--name, -nstringRequiredName of the function to be triggered.
--coll, -cstringOptionalName of the collection to which the function belongs. Defaults to <function pinned.<locals>.default at 0x10b614d60>.
--plan-namestringOptionalName to be given to the plan that will be generated by the trigger.
--wait, --no-waitflagOptionalWait until the plan reaches a final status, or return as soon as it starts. Exits 7 when '--timeout' runs out and 8 when a function run did not succeed. Default: the 'tdk set --trigger-wait' setting (true).
--timeoutstringOptionalStop waiting after S seconds. Default: no limit.
--profilestringOptionalProfile whose login and pinned project and collection this command uses; with no NAME, the default profile. Default: the profile set with 'tdk set --profile', else the default profile.