Hi, I've successfully tested the workflow using only Dynamic response selections in the List fields of the flow, but need help with the Expression if the choice for Yes is selected to indicate they want to Obsolete as I want that response to update the SharePoint list to the choice Obsolete.
I think I've even tried true instead of Yes at some point without success.
Also, found a solution for another post where I tried to insert a Filter array just before the Update Item action.
I even attended the Power Platform conference yesterday in hopes I would learn enough to resolve this issue. There was nothing really detailed for writing expressions that helped me with this workflow, but it did give me the courage to reach out to the community and those with the experience to help me work through this workflow.
If anyone has some detailed instructions or a link or solution it would be greatly appreciated.
Also, Is there a trick to providing images in a post? I get an error when I try to paste a Snagit image of the workflow screen detail.
if(equals(outputs('Get_response_details')?['body/ra9c13a24f4884ad3be0a8d353822219c'],'Yes'),'Obsolete') should work fine. Are you seeing any errors?
You can save the screenshot on your machine as an image and upload by clicking the camera icon:
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi, yes I do get an error.
"Unable to process template language expressions in action 'Update_item_2' inputs at line '1' and column '21152': 'The template language function 'if' expects three parameter: the condition to test as the first parameter, the value to return if the condition is true as the second parameter, and the value to return if the condition is false as the third parameter. The function was invoked with '2' parameter(s). Please see https://aka.ms/logicexpressions#if for usage details.'."
It appears the expression is expecting to see something when it is False (Response=No), but I do not want it to update the List/ field if the Form Response is No.
Is there another expression condition that would be better to use? If there is no change in the current item status of Active or New I do not want to update this choice column.
I only want it to update SharePoint column if the Form response is Yes to make it "Obsolete"
I could possibly manipulate this question to make this one work, but have several other similar yes or no questions that will need the same type of condition applied once I get this one to work.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.