I have two flows pulling data from two separate forms but for the most part they are the same.
I had the issue of one Sharepoint field importing dynamic content that added unwanted brackets: ["Standard Delayed Employee"]. I googled and found a fix for this, added a Compose step with this expression:
replace(replace(replace(body('Get_response_details')?['rfd8f4ec3be654d65a1d1a310b15fd1e9'],']',''),'[',''),'"','')
This worked and removed the unwanted brackets.
Then I duplicated the process exactly for form #2 and I get this error message:
Unable to process template language expressions in action 'Compose_Delayed_Eval_ID' inputs at line '0' and column '0': 'The template language function 'replace' expects its first parameter 'string' to be a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#replace for usage details.'.
There is literally nothing different between the two flows. The question on both forms is the same, multiple choice/multiple options.
This is the flow that works:
This is the flow that returns the error message:
I'm stumped, please help?