A few points to remember
The following are some noteworthy points regarding data manipulation in a Flow:
- Make sure that the field is set as Input and Output to pass values from the controller.
- Use the
<apex:param>
component in the Visualforce page to set the variables' value. - Use the
start()
method in theFlow.Interview
class to call a Flow from a controller. - Using the standard list controller, you can set the SObject Collection Variable value from the standard controller.
- If you have embedded a Flow into a Visualforce page and Flow is not activated, then at runtime, Flow users will receive an error.
- Once you have deactivated a Flow, you can immediately delete it.
- If you are using the same choice in multiple screens on a Flow and you want to find the recent one, then use
was selected
in your query. - To set the record type for a record, use the record type ID.
- If the Flow Designer doesn't show the custom object or fields you recently created, then close the Flow Designer and reopen it.
- If the...