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
{{ message }}
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Below are two task of one of the workflows, the use case we are trying is, when HTTP task should send workflowInstanceId and HUMAN(which is followed by HTTP) taskId to HTTP-API, so that human can login to Application and get the workflow approved.
One of the discussion suggested to use ${dispatch_approval.taskId} but this always returns null and ${order_processor.workflowInstanceId} this as well.
"WorkflowId":"${order_processor.workflowInstanceId}",
"TaskId":"${dispatch_approval.taskId}"
Can someone guide how such information can be fetched during workflow execution?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Below are two task of one of the workflows, the use case we are trying is, when HTTP task should send workflowInstanceId and HUMAN(which is followed by HTTP) taskId to HTTP-API, so that human can login to Application and get the workflow approved.
One of the discussion suggested to use ${dispatch_approval.taskId} but this always returns null and ${order_processor.workflowInstanceId} this as well.
"WorkflowId":"${order_processor.workflowInstanceId}",
"TaskId":"${dispatch_approval.taskId}"
Can someone guide how such information can be fetched during workflow execution?
{ "name": "fullfill_order_for_medicine", "taskReferenceName": "fullfill_order_for_medicine", "inputParameters": { "http_request": { "uri": "http://localhost:9999/orders", "method": "PUT", "body": { "id": "${get_order_request.output.response.body.id}", "name": "${get_order_request.output.response.body.name}", "status": "complete", "isComplete": true, "WorkflowId":"${order_processor.workflowInstanceId}", "TaskId":"${dispatch_approval.taskId}" } } }, "type": "HTTP" }, { "name" : "dispatch_approval", "taskReferenceName": "dispatch_approval", "type": "HUMAN" }
Beta Was this translation helpful? Give feedback.
All reactions