官术网_书友最值得收藏!

Adding values to a collection variable

You can't refer to your collection variable either in the Record Lookup or Fast Lookup element to populate it with values. The following are a few ways through which you can populate values in your collection variable:

  • Screen fields: Using an Assignment element, this allows you to populate values for a collection variable by referring to Screen fields such as Choice, input, or output field values. You can also populate values for a collection variable by referring to values stored in a variable using an Assignment element.
  • Variable: This also allows you to populate values for a collection variable by referring to values stored in a variable using an Assignment element.
  • SObject Variable: Using an Assignment element, this allows you to populate values for a collection variable by referring to one SObject Variable field value.
  • SObject Collection Variable: To assign SObject Collection Variable field values to a collection variable, you have to use a Loop element. Within the Loop element, using an Assignment element, you can populate values for collection variables by referring to the Loop variable's stored field values.

In Chapter 3, Manipulating Records in Visual Workflow, you will learn how to populate values for a collection variable.

主站蜘蛛池模板: 抚远县| 辉县市| 恭城| 清苑县| 芜湖市| 贺兰县| 桐乡市| 阳山县| 漾濞| 临清市| 神木县| 宜黄县| 保山市| 宁河县| 锡林浩特市| 饶阳县| 汉寿县| 黔东| 山西省| 红河县| 陕西省| 唐山市| 内丘县| 元谋县| 平利县| 聂拉木县| 台北县| 西安市| 武汉市| 大兴区| 酒泉市| 德昌县| 望城县| 周宁县| 武宣县| 章丘市| 余姚市| 游戏| 新丰县| 盱眙县| 雅安市|