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

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.

主站蜘蛛池模板: 崇仁县| 德江县| 哈密市| 东辽县| 杂多县| 衡东县| 阿城市| 蚌埠市| 页游| 岑巩县| 青川县| 富锦市| 赤水市| 元朗区| 安徽省| 甘德县| 闸北区| 邳州市| 南漳县| 新乡县| 聂拉木县| 万安县| 郓城县| 沂水县| 龙州县| 康平县| 拜泉县| 抚顺市| 丰原市| 柳州市| 略阳县| 甘肃省| 眉山市| 利川市| 诏安县| 蒙城县| 溆浦县| 获嘉县| 塔河县| 冕宁县| 甘泉县|