Solved! Go to Solution.
Hey there, If I'm reading this correctly, I think you're missing an operator to combine your static and dynamic text. Try this:
if(not(empty(body('Get_response_details')?['r66cdfa6620fa4db4b8fced24da5554de'])),concat('STATIC TEXT ', body('Get_response_details')?['r66cdfa6620fa4db4b8fced24da5554de']),'')
Keep us posted.
-Ed
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Hi @jmwinters ,
Following @edgonzales ’s suggestions, you could add Compose action and fill the response in Compose, so that we can directly determine whether the output of Compose is empty, like:
if(not(empty(outputs('Compose'))),concat('Text',outputs('Compose')),outputs('Compose'))
Feel free to let us know if you have any other questions.
Best Regards,
Hey there, If I'm reading this correctly, I think you're missing an operator to combine your static and dynamic text. Try this:
if(not(empty(body('Get_response_details')?['r66cdfa6620fa4db4b8fced24da5554de'])),concat('STATIC TEXT ', body('Get_response_details')?['r66cdfa6620fa4db4b8fced24da5554de']),'')
Keep us posted.
-Ed
If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.
Hi @jmwinters ,
Following @edgonzales ’s suggestions, you could add Compose action and fill the response in Compose, so that we can directly determine whether the output of Compose is empty, like:
if(not(empty(outputs('Compose'))),concat('Text',outputs('Compose')),outputs('Compose'))
Feel free to let us know if you have any other questions.
Best Regards,