I want to add the User to the Bookable Resource, if the Bookable Resource email already exist as a User.
I do this by first selecting from the SystemUsers based on email to get the GUID and then set a variable to systemusers({GUID}) and that works as intended:
The variable is set correctly.
I then use the "Create a new record" action, to create a new Bookable Resource:
And under advanced options, I set the User reference, from the variable above:
And when looking at a run of the flow, it works as intended:
This is the raw inputs sent:
{
"host": {
"connectionReferenceName": "shared_commondataserviceforapps",
"operationId": "CreateRecord"
},
"parameters": {
"entityName": "bookableresources",
"item/msdyn_displayonscheduleboard": true,
"item/name": "TEST USERNAME",
"item/resourcetype": 4,
"item/timezone": 105,
"item/aba_department@odata.bind": "aba_bookableresourcedepartments(e6cb4f1e-1862-eb11-a812-0022487f85ee)",
"item/aba_externalid": "999999",
"item/msdyn_primaryemail": "aba@customer.onmicrosoft.com",
"item/abakion_primaryphone": "12345678",
"item/dyna_type": 356630002,
"item/UserId@odata.bind": "systemusers(93c675de-aaaa-bbbb-cccc-dddddddd73fd)"
}
}
But when checking the record in Bookable Resources, the User is not set:
Please advise
Regards,
Michael Nielsen