Hello All,
I am still building my first app, and since I have no knowledge about power flow i am hard-coding in power apps to the best of my knowledge.
The scenario is about a check list of complete documentation for purchasing process.
User intimates requestor if submitted documents are complete or not, and if not, There are 2 types missing documents and wrong documents. for that I have check boxes.
CheckMissing
CheckMissing1 CheckMissing2 CheckMissing3
CheckWrong
CheckWrong1 CheckWrong2 CheckWrong3
I wrote the code to patch into excel, now i am trying to send an email to the requestor to tell what documents are missing and what are wrong.
If(notcomplete.Value=false,
Office365Outlook.SendEmail(lstSalesMA.Selected.Mail,"Documents Received " &
"Hallo; <br> <br>
We have received the application."
, {IsHtml: true}
),
// Now I am stuck here if notcomplete.Value=True
Office365Outlook.SendEmail(lstSalesMA.Selected.Mail,"The request is incomplete " &
"Hallo, <br> <br>
There are missing and wrong documents in your application.<br>"&
"Missing Documents<br>"&
If(CheckMissing1.Value=true, If(CheckMissing2.Value=true,); .... etc
// checkbox labels need to be listed part of the body
"Wrong Documents<br>"&
If(CheckWrong1.Value=true, If(CheckWrong2.Value=true,); ... etc
// checkbox labels need to be listed part of the body
)
,{IsHtml: true}
)
)
Hope this clarifies.
Cheers..