我正在尝试编写一个动作,该动作取决于来自两个不同列的两个值,来自另一个列的值将记录在数组中.
我希望它处于循环状态,以便它可以遍历所有行.然后发送包含数组值的电子邮件.
我想知道是否有可能,如果可以,我该怎么办?
因为我写了一个通用代码,但是我无法进入工作表来记录指定的值..
解决方案
使用SharePoint 2010工作流时,您可以为OOB操作无法满足的需求创建自定义活动,可以在下面的链接中查看示例.
patrickboom.wordpress/2011/08/09/custom-email-activity-for-sharepoint-designer-2010/
social.technet.microsoft/wiki/contents/articles/13604.sharepoint-2010-create-a-workflow-activity-using-visual-studio-2010.aspx
或者,通过Visual Studio创建工作流,这样就可以实现复杂的逻辑.
www.c-sharpcorner/blogs/sendemail-activity-in-sharepoint-2010-sequential-工作流程1
www.c-sharpcorner/blogs/how-使用Visual Studio 2010在SharePoint 2010中创建顺序工作流
最好的问候,
Lee
i'm trying to code an action that depending on two values from two different columns, the value from a different column gets recorded in an array.
I want it to be in a loop so it can go through all the rows. and then send an email with the array values.
I was wondering if it's possible, and if it is, how can I do it?
because I wrote out a general code but I can't go into the sheet to record the specified values..
解决方案Hi,
When using SharePoint 2010 workflow, you could create custom activity for requirements which OOB actions can’t do it, you could check below links for sample.
patrickboom.wordpress/2011/08/09/custom-email-activity-for-sharepoint-designer-2010/
social.technet.microsoft/wiki/contents/articles/13604.sharepoint-2010-create-a-workflow-activity-using-visual-studio-2010.aspx
Or, create workflow by Visual studio, so you could achieve complex logic.
www.c-sharpcorner/blogs/sendemail-activity-in-sharepoint-2010-sequential-workflow1
www.c-sharpcorner/blogs/how-to-create-sequential-workflow-in-sharepoint-2010-using-visual-studio-2010
Best Regards,
Lee
更多推荐
共享点中的工作流程代码
发布评论