ওয়ার্কফ্লো
ওয়ার্কফ্লো হলো পণ্য আপনার হয়ে চালানো অটোমেশন: একটি ট্রিগার, ধাপের গ্রাফ এবং ইভেন্ট আসার সাথে এগিয়ে চলা রান। খসড়া ও প্রকাশ আলাদা, তাই ট্র্যাফিক যা চালায় তা সবসময় কেউ ইচ্ছাকৃতভাবে পাঠানো সংস্করণ।
At a glance
- Shape
- A trigger, a graph of steps, published versions
- Triggers
- Manual fire, or a cohort signal
- Operate
fireWorkflow,signalWorkflow,cancelWorkflow- Live updates
workflow.runon the project room- Auth
- Access token; runs execute server-side
- ট্রিগার হলো ম্যানুয়াল ফায়ার বা কোহর্ট সিগন্যাল, তাই «কে» একটি কোহর্ট, হাতে লেখা শর্ত নয়।
- ধাপে আছে অ্যাকশন, বিলম্ব, শাখা ও সুরক্ষিত জাম্প; ইঞ্জিন যে গ্রাফ প্রত্যাখ্যান করবে তা প্রকাশের আগেই নামকরণ হয়।
- প্রতিটি রান তার কারণ রাখে: অপেক্ষা তার সিগন্যালের নাম বলে, ব্যর্থতা তার ত্রুটি বহন করে।
এটি কীভাবে কাজ করে
A definition holds a draft graph and its published versions. The draft is edited freely and saved as it changes; publishing validates the graph and makes that version the one runs execute, so an edit in progress can never leak into traffic. A run advances node by node: actions do work, delays hold, branches choose a case or the otherwise, and a waiting node parks the run until its named signal arrives, from the product or by hand. Runs, their steps and their errors are all kept, which is what the console's runs tab and the Home screen's Needs you list read.
কোথায় অ্যাক্সেস করবেন
| Surface | Operation |
|---|---|
| REST | None: workflows are authored and operated, not ingested |
| GraphQL | workflowDefinitions, workflowRuns queries · publishWorkflowVersion, fireWorkflow, signalWorkflow, cancelWorkflow mutations |
| Realtime | workflow.run on the project room, as a run advances |
| MCP | prodantix.workflows.list |
উদাহরণ
curl "https://api.prodantix.com/graphql" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"query": "mutation ($p: String!, $d: String!) { fireWorkflow(projectId: $p, definitionId: $d) { runId } }",
"variables": { "p": "'$PROJECT_ID'", "d": "'$DEFINITION_ID'" }
}'