getCycleCount( )
获取当前主题的输入分支中每个主题的当前周期实例编号。例如,您可以获取现有周期的计数。
语法
getCycleCount(branchShortName)示例 3-98 如果 Branch01 至少具有 1 个启动周期,请将下拉列表的值设置为 true
// get the current cycle count of branch 'Branch01'
var cycleCount = getCycleCount('Branch01');
// if at least 1 cycle has been started in Branch01, set value to true
if (cycleCount > 1) {
return setChoiceLabel("TRUE");
} else {
return setChoiceLabel("FALSE");
}父主题:多个访问计划和周期访问功能