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
After testing all actions inside the custom connector successfully I created a simple flow that just contains a "Start an approval" and then the "Reassign an Approval" action. After testing the flow, the approval is created correctly and also the reassignment worked. However, the flow throws an error at the reassign action:
Invalid response for workflow process "Reassign_an_Approval" of type "OpenApiConnection". The API "ReassignApproval" operation requires that the "body" property is of type "Array", but is of type "Object".
I was trying to change the body property to an array but I cant quite get it to work, any help?
The text was updated successfully, but these errors were encountered:
summary: Reassign an Approval
operationId: ReassignApproval
description: This action will give you a way to reassign approvals
parameters:
- {name: environment-name, in: path, required: true, type: string, x-ms-summary: Environment,
description: The name of the environment (default-GUID or GUID)}
- {name: approval-name, in: path, required: true, type: string, description: The
name of the approval (GUID), x-ms-summary: Approval}
- {name: approvalrequest-name, in: path, required: true, type: string, x-ms-summary: Approval
request, description: The name of the approval request (GUID)}
- {name: api-version, in: query, required: false, type: string, default: '2016-11-01',
x-ms-summary: API version}
- name: body
in: body
required: false
schema:
type: object
properties:
AssignedTo: {type: string, description: AssignedTo}
Body property is at the end, needs to be an array somehow
After testing all actions inside the custom connector successfully I created a simple flow that just contains a "Start an approval" and then the "Reassign an Approval" action. After testing the flow, the approval is created correctly and also the reassignment worked. However, the flow throws an error at the reassign action:
I was trying to change the body property to an array but I cant quite get it to work, any help?
The text was updated successfully, but these errors were encountered: