Not sure if this is a bug from the provider or Power Automate.
When I set up a "When a record is selected" on my virtual entity, and reference the properties lower in my flow, all field types seem to work except for int fields. When I use an integer field (assigning it from the selected entity to a int variable even), I get an error that the trigger is broken (from flow) and an error trying to invoke it in CDS. I've successfully used text, yes/no, dates and PK fields.
This is the error message I get when invoking it in CDS:
Error: The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'Invalid type. Expected Integer but got String.,Invalid type. Expected Integer but got String.'.
The field is configured as Whole Number in CDS, and int in the database.
Not sure if this is a bug from the provider or Power Automate.
When I set up a "When a record is selected" on my virtual entity, and reference the properties lower in my flow, all field types seem to work except for int fields. When I use an integer field (assigning it from the selected entity to a int variable even), I get an error that the trigger is broken (from flow) and an error trying to invoke it in CDS. I've successfully used text, yes/no, dates and PK fields.
This is the error message I get when invoking it in CDS:
Error: The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'Invalid type. Expected Integer but got String.,Invalid type. Expected Integer but got String.'.
The field is configured as Whole Number in CDS, and int in the database.