I have the following function that is giving me a warning message that I cannot figure out
If(NewDiaryIssueDD.Selected.Value=!"Machine Fault (Controls)", Patch(ProcessDiary, Defaults(ProcessDiary), {Title: User().FullName, Date: Now(), AreaCell: NewDiaryItemAreaLbl.Text, Issue: NewDiaryIssueDD.Selected, SafetyRisk: NewDiaryItemSafetyDD.Selected, JITNonJIT: NewDiaryItemJITDD.Selected}); Navigate(StartingOptions), Patch(ControlsDiary, Defaults(ControlsDiary), {Priority: NewDiaryPriorityInput.Selected, ProcessDiaryID: VarX, RequestedBy: CurrentUser}))
I'm used to Excel functions, which is why my statement is a single line, but having said that, the warning message is as follows:
