工作流显示工作流中已更改列表项的旧值和新值 [英] Workflow showing both old and new values of a changed list item in a workflow

查看:67
本文介绍了工作流显示工作流中已更改列表项的旧值和新值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

当SharePoint 365联机租户列表中的项发生更改时,我需要创建一个工作流.

I need to create a workflow when an item in a SharePoint 365 online tenant list changes. 

我知道如何创建工作流程,但是可以同时显示旧值和新值吗?

I know how to create the workflow, but is it possible to display both the old value as well as the new value?

示例:

    1)列表A的列为"VersionNumber"

     1) List A has a column "VersionNumber"

    2)有人将项目从10.0.0版本更改为10.0.1

     2) Someone changes the item from version 10.0.0 to 10.0.1

是否存在要发送提醒,提示删除了旧版本号并突出显示了新版本号?

Is there a to send the alert showing the old version number striked out and the new version number highlighted?

我知道我可以单击Alert me(警报我),它将为我处理,但是我需要能够控制谁得到警报以及何时接收警报.

I know I can click on Alert me and it will take care of it for me, but I need to be able to control who gets the alerts and when. 

我不相信任何用户都可以点击提醒我",了解他们需要的一切.

I can't trust any of my users to click the alert me on everything they need. 

他们中的大多数人都不知道他们需要什么,除非我告诉他们他们需要它:)

Most of them don't know what they need unless I tell them they need it :)

推荐答案

您可以添加另一列来存储VersionNumber的旧值.

创建新项目时,我们需要将新字段设置为与VersionNumber相同,然后在更改项目时将启动的工作流程中,我们可以发送电子邮件使用新字段中的值替换旧值,并 我们还需要使用更新后的值来更新新字段值.

When creating a new item, we need to set the new field to be the same as the VersionNumber, then inside the workflow which will be started when item is changed we can send email with the value from the new field for the old values and we also need to update the new field value with the updated value.

以下链接中的工作流具有相同的逻辑供您参考:

http://officepowerups.com/2013/07/09/send-email-when-specific-field-changes-in-sharepoint/

最好的问候


这篇关于工作流显示工作流中已更改列表项的旧值和新值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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