SharePoint自定义工作流活动 [英] SharePoint Custom Workflow Activity

查看:62
本文介绍了SharePoint自定义工作流活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi,

使用Visual Studio作为场解决方案在SharePoint 2016中创建自定义工作流活动时遇到问题.工作流程活动已成功部署,我可以在Sharepoint Designer工作流程中查看它.工作流程设置为 开始创建商品.

I am facing an issue while creating custom workflow activity in SharePoint 2016 using Visual Studio as a Farm solution. The workflow activity was deployed successfully and I am able to view it inside the Sharepoint designer workflow. The workflow is set to be started on item creation.

当创建该项目时,工作流被触发并且工作流状态被显示为发生了错误,并且所显示的消息是工作流中发生了错误".尝试调试代码时,请不要点击服务器端代码.

When the item is created, the workflow gets triggered and workflow status is shown as Error Occurred and message shown is "The error occurred in the workflow". When trying to debug the code doesn't hit the server side code.

请找到随附的屏幕截图(代码文件和工作流状态)

Please find the attached screenshots(Code file and Workflow Status)


推荐答案

hi

首先检查该错误是否来自您的代码或设置.

first check whether the error comes from your code or settings.

请删除catch部分中的代码,然后重试.

please remove the code in catch section and try again.


这篇关于SharePoint自定义工作流活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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