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

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.

主站蜘蛛池模板: 兰溪市| 宿迁市| 泌阳县| 咸阳市| 互助| 中卫市| 富源县| 溆浦县| 六安市| 石楼县| 昌宁县| 吴桥县| 九龙城区| 筠连县| 平远县| 宿迁市| 荆州市| 东乌珠穆沁旗| 双辽市| 昭觉县| 青阳县| 邻水| 镇远县| 当涂县| 海丰县| 福泉市| 临朐县| 团风县| 手机| 闻喜县| 霍林郭勒市| 黄梅县| 宜都市| 图们市| 永靖县| 马关县| 滦南县| 恭城| 遵化市| 迭部县| 肇庆市|