Hi
always if true condtion is executing but not else part what is the wrong here
but no error/warning in form.
If(IsBlank(flag1.text) && IsBlank(flag2.Text) && IsBlank(flag3.Text),Set(flag1,"Approved");SubmitForm(UserApproveForm_SP),
If(flag1.text="Approved"&& IsBlank(flag2.Text) && IsBlank(flag3.Text),Set(flag2,"Approved");
SubmitForm(UserApproveForm_SP)));
here till here it was in true part if you observer from the above code: If(IsBlank(flag1.text) && IsBlank(flag2.Text) && IsBlank(flag3.Text),Set(flag1,"Approved");SubmitForm(UserApproveForm_SP)
updating flag1 value fine but after that second stage it has to excute else part but not excuting.
always even if falg1 value is approved.
else_value part is (which is not executing)
If(!(TextInput1.Text="") && IsBlank(DataCardValue2.Text) && IsBlank(DataCardValue1.Text), Set(secondapp,"Approved");
SubmitForm(UserApproveForm_SP)))
Inshortly: I have 3 flag columns in SP List
Initially i have to check all the 3flag columns are blank or not
if yes(3 flag columns are blank)
Update/set flag1 with approved
Next stage
if flag1 is approved and flag2,3 are empty then
Update/Set flag2 with approved
if flag1,2 are approved and flag3 is empty
then Update flag3 with approved
kinldy correct, and share.
Appriticated for your reply.