hi All,
good afternoon!
I have a equipment service request system developed by power apps, it runs fine except send notification to recipients failed
I have a form to created the new request , once I saved new information into share point list some users can receive this information by push notification , I can save the record successful but send push notification doesn't work, I have a button (" Save")
to trigger save action and send power apps notification , onSelect property I have below code:
If(Trim(txtLineNo.Text)="",Notify("Please Input line No",Error,5000),If(Trim(txtEquipmentNo.Text)="" && Trim(txtToolingNo.Text)="",Notify("Please input Equipment No. or Tooling No.",Error,5000)),If(Trim(txtFaultDescription.Text)="",Notify("Please input equipment fault description",Error,5000)),Patch(EquipmentServiceRequest,Defaults(EquipmentServiceRequest),{ PlantCode: dropdownPlant.Selected.Value,RequestNo: txtRequestNo.Text,CreatedBy: myUserInfo.UserName,CreatedDate: Now(),LineNo: txtLineNo.Text,EquipmentNo: txtEquipmentNo.Text,ToolingNo: txtToolingNo.Text,FaultDescription: txtFaultDescription.Text,RequestStatus: "New",Title: "0" });Notify("Your Request Created Successful",Success,5000);PowerAppsNotification.SendPushNotification({ recipients: ["hongtao.wei@prettl.com"],message: "New Request Assigned to you" });ResetForm(Form_NewItem);Navigate(MainScreen_Leader,None))
my record can be saved and there's no any error message , does anyone know what's wrong with the code ?
very appreciated if any, thanks!