在工作流的“变量的任务结果:"下,局部变量未显示为选项 [英] Local variables not showing as an option under “Task outcome to Variable: ” in Workflow

查看:165
本文介绍了在工作流的“变量的任务结果:"下,局部变量未显示为选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Issue w/SharePoint O365 & SPD2013: Trying to set a different task outcome variable for each task approval stage. Only one variable is showing, even though the local variable list shows these variables as available.

我尝试过的:

  1. 通过创建新变量..."下的下拉菜单添加了变量,然后显示在局部变量"但不会更改该字段,也无法选择该字段.

  1. Added the variable via the drop-down under "Create a new variable...", it then shows up under "local variables" but does not change the field nor is it able to be selected.

尝试添加,保存,关闭SPD 2013并重新打开,但仍不显示为选项.

Tried adding, saving, closing SPD 2013 and re-opening, still does not show as an option.

删除了除第一个阶段以外的所有阶段,将它们复制下来,同样的问题

Deleted all stages except for the 1st one, copied them down, same problem

删除了除第一个阶段以外的所有阶段,创建任务,创建新变量的结果相同,不变,仅显示结果1

Deleted all stages except the first one, created task, created new variable same result, does not change, only shows Outcome1

已删除%USERPROFILE%\ AppData \ Local \ Microsoft \ WebsiteCache& %APPDATA%\ Microsoft \ Web服务器扩展\缓存,不走运

Deleted %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache & %APPDATA%\Microsoft\Web Server Extensions\Cache, no luck

Previously adding in the variable off of the task worked fine but it stopped working after I copied the stage for Manager 2-4 approval. Now only manager 1 stage works. I set them as separate stages so that the user can see which stage the workflow is in (which manager is pending approval).

推荐答案

希尔斯伯格,

由于该变量是从另一个阶段创建的,因此无法选择该变量作为该阶段中的任务结果.

The variable cannot be selected as the task outcome in the stage because it is created from another stage.

这意味着,当您通过创建新变量..."下的下拉菜单添加变量时,仅在当前阶段有效.即使在其他阶段,我们也无法找到此变量 在同一个工作流程中.

It means, when you add the variable via the drop-down under "Create a new variable...", it only works in the current stage. We cannot find this variable in other stages, even though these stages are in the same workflow.

您应该使用功能区上的本地变量"按钮来创建本地变量.然后,变量在同一工作流程的所有阶段起作用.


最好的问候,

张琳达


这篇关于在工作流的“变量的任务结果:"下,局部变量未显示为选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆