I have a Do Until loop where I want to add 1 day to a variable 'CurrentDate', which has been initialized outside of the loop. I am using the Set Variable with addDays() to add the day to the CurrentDate variable, but when I save the flow, I get the following error:
Flow save failed with code 'WorkflowRunActionInputsInvalidProperty' and message 'The inputs of workflow run action 'Set_variable' of type 'SetVariable' are not valid. Self reference is not supported when updating the value of variable 'CurrentDate'.'.
Any ideas on what I am doing wrong?