getWorkflow function
Future<ApiResponse<WorkflowView> >
getWorkflow(
- ExsitedClient client,
- Object workflowId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/workflows/{workflow_id}
Retrieve one workflow, the wf_ id or the code, under workflow.
Implementation
Future<ApiResponse<WorkflowView>> getWorkflow(
ExsitedClient client,
Object workflowId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(WorkflowsUrls.workflow,
pathParams: {'workflow_id': workflowId},
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: WorkflowView.fromMap);