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

  • Learning ServiceNow
  • Tim Woodruff
  • 128字
  • 2021-07-09 18:48:25

Return value

Workflows, like functions, can call one another. It's possible to create re-usable workflows for commonly used processes, such as change approval, and then call them from the current workflow by simply locating one in the Workflows tab of the workflow editor, and dragging it into the main Workflow window:

In one of these workflows, you can use the Return value workflow activity to return a value back to the parent workflow, just as you might when using the return statement inside of a function in JavaScript. In the Workflow subflow activity on the parent workflow, the Map return value to field allows you to specify the variable name to use to store the returned value. You can access this variable from the scratchpad by using workflow.scratchpad.variableName:

主站蜘蛛池模板: 英吉沙县| 花垣县| 田阳县| 岚皋县| 天门市| 阿合奇县| 义乌市| 泰兴市| 宜都市| 贵定县| 台中市| 靖远县| 徐闻县| 简阳市| 九江县| 六安市| 呼伦贝尔市| 沅陵县| 绥化市| 慈溪市| 饶河县| 青河县| 京山县| 米脂县| 肇源县| 绵竹市| 崇左市| 温宿县| 黎城县| 通化县| 丰县| 龙江县| 九台市| 高碑店市| 登封市| 枣阳市| 中卫市| 丘北县| 楚雄市| 方城县| 连城县|