gpt4 book ai didi

dynamics-crm - 自定义工作流事件不更新输入参数

转载 作者:行者123 更新时间:2023-12-05 02:15:34 25 4
gpt4 key购买 nike

我在尝试更新自定义工作流事件时遇到问题。一旦我对逻辑进行了更改,更新就会正常完成,但是当我添加新的输入参数时,更改不会反射(reflect)出来。

更改程序集版本我无法再在 CRM 上更新程序集。

最佳答案

你是对的,你必须更改程序集版本才能看到你添加的新参数

增加(主要/次要)版本号的程序集应该是在 CRM 中注册为一个程序集(而不是像您正在尝试做的那样注册为同一个程序集)。

用微软的话说:Upgrade a custom workflow activity

  1. Make necessary changes in the underlying code of the custom workflow activity.

  2. Change the values for <major_version> and/or <minor_version> in the assembly information of the custom workflow activity, and compile it. For example, change the value of your assembly from “1.0.0.0” to “2.0.0.0”.

  3. Register the upgraded custom workflow activity as a new assembly. Make sure that the new assembly has the same Name, PublicKeyToken, and Culture as the existing assembly to be considered as a different version of the same assembly.

    After you upgrade the custom workflow activity, existing running process instances that are using the custom workflow activity will continue to use the older version of the custom workflow activity assembly. This ensures that your existing running process instances do not break. If you want the process to use the new version of the custom workflow activity, you must modify the process definition to use the new version. Dynamics 365 displays all the <major_version> and <minor_version> combinations for an assembly in a drop-down list for you to select from.

关于dynamics-crm - 自定义工作流事件不更新输入参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51588346/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com