Hi @Pstork1 ,
the 'GetItem_id' is not done by me...I'm not sure, where it come from 🙂
In PowerApps I use a variable to read the ID of the newly created item in SharePoint:
Set(OrderIDVar,
Patch(Order, Defaults(Order),
{
Purchaser: {'odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
ODataType: Blank(),
Claims:Concatenate("i:0#.f|membership|",User().Email),
DisplayName:User().FullName,
Email:User().Email,
Department:"",
JobTitle:"",
Picture:""
},
Title:"User created by PowerApps | " & Text( Now(),"[$-da]dd/mm/yyyy hh:mm:ss"),
Comment: inp_comments.Text,
Total: Text(Sum(basket, itemprice), "[$-en-US]###,###.00"),
Approver:{'odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
ODataType: Blank(),
Claims:Concatenate("i:0#.f|membership|",inp_manager.Selected.Mail),
DisplayName:User().FullName,
Email:User().Email,
Department:"",
JobTitle:"",
Picture:""
}
}
).ID)
So, what comes in the brackets 'name of flow'.Run(xxxx)? Is it the name of the Variable (OrderIDVar)?