Skip to main content
I have a Lightning Action that contains a Flow and Lightning Component. When I move the action from one Sandbox to another and run validation, I receive an error that I cannot find referenced on any support forums. The error reads "Field cannot be set for type Flow", with no further information.

 

Does anyone know what might be causing this issue, and how to resolve it?
6 respostas
  1. 24 de out. de 2019, 16:58
    It looks like the issue here was related to the variables generated by the flow that were passed into the Lightning Component. Four of the passed in fields were populated via a Flow formula. I recreated the Flow and Lightning Component without those fields, and was then able to implement the new change set without this error.

     

    For future readers encountering this error, I would look to see if your lightning component is populated directly by Flow Formulas, and see if changing this resolves the issue.
0/9000