Hi Folks -
Question for you all. I have an approval workflow setup that is working as expected. Now that it is live, there is one scenario I need to check for which will dictate the content of "Details" message. Rather than setup a whole new flow to accommodate the exception, can I use an expression in the Details section?
What I mean is, I need to check the value of "PartnershipID" and if it's blank/null, use one message and if it's not blank, display another message. Is that possible with an IF statement?
Screen shot below - thank you!
Solved! Go to Solution.
Hi @simms7400 ,
Please try the following expression:
if(empty(outputs('Compose')),'other message',outputs('Compose'))
For more details about WDL function, please check the online doc:
https://docs.microsoft.com/en-gb/azure/logic-apps/workflow-definition-language-functions-reference
Best Regards,
Hi @simms7400 ,
Please try the following expression:
if(empty(outputs('Compose')),'other message',outputs('Compose'))
For more details about WDL function, please check the online doc:
https://docs.microsoft.com/en-gb/azure/logic-apps/workflow-definition-language-functions-reference
Best Regards,
Hi Thank you!!!
Everything is working, however the "empty" logic isn't. When I force the "PartnershipID" to be empty, it still execute as if it were populated. ANy ideas?
I Figured it out I believe. It was recognizing at PartnershipID with a length of 1, which is odd. I will adjust and see if I can get it to work.
Hi @simms7400 ,
The Empty() function is not suitable for directly judging whether the number type field is empty, you can use Compose to store it first, and then judge whether the output of Compose is empty. If you have any other questions related to Flow, just ask.
Best Regards,
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
26 | |
24 | |
23 | |
14 | |
10 |
User | Count |
---|---|
57 | |
55 | |
29 | |
27 | |
24 |