Hi all,
I have a bit of a situation with one of my canvas apps
Applicant submits a request and put the supervisor and line manager the same (this is possible in some instances)
The way I have designed my form is I have the supervisor approve the application first, then line manager gets an email to approve.
If supervisor and line manager are the same, the supervisor will sign and date SupervisorScreen and then click next to go to LineManagerScreeen and will submit the request.
Is this the best way to do this, my Supervisor Save buttons OnSelect is:
If(IsBlank(DataCardValue8.Selected), Notify("Please sign to confirm authorisation", NotificationType.Error, 3000),
If(IsBlank(DataCardValue9.SelectedDate), Notify("Please enter todays date", NotificationType.Error, 3000),
Set(vWait,true);
SubmitForm(FormPartI)))
If the Linemanager is the same as the supervisor they can click next and complete that section too, if they are not the same then the next section will be view only with the save button invisible to them, will this work if if do this:
If(IsBlank(DataCardValue18.Selected), Notify("Please signed to confirm authorisation", NotificationType.Error, 3000),
If(IsBlank(DataCardValue19.SelectedDate), Notify("Please type in todays date", NotificationType.Error, 3000),
Set(vWait,true);
SubmitForm(FormPartI);
SubmitForm(FormPartILineManager)))
The form is in prod, so hesitant in making the above change