Dictionary: enters to infinite loop if used in writeline directly without using foreach

1.Created “Dict” variable of type 'Dictionary<String,String> & assigned initial values.
2.new Dictionary(Of String, string) from {{“key1”,“key2”},{“Val1”,“Val2”}}
3. Used writeline to write “Dict.ToString”
Issue: Running this enters into infinite loop which needs to be stopped through task manager
I know its not right way of using dictionary. But It could be handled in different ways instead of getting into infinite loop

Gives result for me only once, please recheck your workflow, the writeline activity must be between some loop or between some conditional statement in flowchart!

it was resolved for me just by creating flow all from scratch. no idea what was the cause

1 Like