You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: We need to handle responses from Stakwork efficiently and take the next action on the response data.
Why it's needed: This endpoint is crucial for maintaining the integrity and accuracy of our workflow tracking system by ensuring that all responses are logged and processed correctly.
Larger System Fit: This endpoint is part of the Stakwork Common Workflow Plumbing feature, which aims to streamline and automate workflow processes.
Background: The /workflows/response endpoint will update the wf_requests table with response data, ensuring that the status of each request is accurately tracked.
This is related to a broader project defined here:
For context see: #1922
System Schematic:
Design
The logical flow to process a response is:
"/workflow/response"
On receipt of response object.
Use requestUUID to load response data into DB wf_requests
Create action object (union of requestObject and responseObject)
POST to /workflow/action
Context
/workflows/response
endpoint will update thewf_requests
table with response data, ensuring that the status of each request is accurately tracked.This is related to a broader project defined here:
For context see: #1922
System Schematic:
Design
The logical flow to process a response is:
POST to /workflow/action
Endpoint:
/workflows/response
HTTP Method: POST
Request Body: JSON object containing response data from Stakwork.
Database Interaction: Update the
wf_requests
table with the response data based onrequest_id
.Database Interaction: Use the
wf_processing_map
to check for next processing action based onaction
.Task Breakdown
Assignment Criteria
Acceptance Criteria
/workflows/response
endpoint accepts POST requests with valid JSON response data.wf_requests
table with the correct response data based onrequest_id
.The text was updated successfully, but these errors were encountered: