1

I would like to repeat that scenario https://www.youtube.com/watch?v=U4iuVi1Vtgg&t=321s

But in my flow (below) on second condition flow end.

enter image description here Error:

enter image description here

Unable to process template language expressions for action 'Condition' in line '1' and column '57970': 'Template language function endsWith' expects the type of the first parameter to be a string. The type of value provided is "Null". For details on use, please visit https://aka.ms/logicexpressions#endswith. ”.

2
  • Looks like you are passing null value to 2nd condition in your formula. check if variable has a value in it. Commented Apr 16, 2021 at 7:58
  • Yes, 2nd condition formula store Answer (First approval) = true, but first approval includes timeout parametr - and this problem, how implement timeout escalation in my scenario.
    – Jacko21
    Commented Apr 16, 2021 at 8:51

2 Answers 2

1

The best practice to handle these kinds of escalations is to:

  • Create a new "Scope".
  • Run this scope on a condition of "Failure".
  • Place all your escalation activities insidde this scope.
  • Terminate the flow with success inside your scope

enter image description here

This way you will be sure that you don't encounter the null reference exception.

1
  • Working in 50% :) Still I`ve got null in first approve. Second approve works.
    – Jacko21
    Commented Apr 20, 2021 at 18:29
1

Some modification: enter image description here

First approve - not working Second aprrove - working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.