tag:blogger.com,1999:blog-2073183771382712044.post247484764275656930..comments2022-11-10T01:23:40.478-08:00Comments on Geek On Code: SharePoint Workflow – Parallel ReplicatorMichael Mayerhttp://www.blogger.com/profile/17564035137884112839noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-2073183771382712044.post-48960840432042841992010-12-02T20:19:27.761-08:002010-12-02T20:19:27.761-08:00Hi Michael,
I am trying to send the mails after c...Hi Michael,<br /><br />I am trying to send the mails after create task.<br /><br />please let me know how can i get the comments entered by reviewers from parallel custom activity to the task form?Roopahttps://www.blogger.com/profile/00458451509950133306noreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-17441370027545107182010-12-02T09:26:31.646-08:002010-12-02T09:26:31.646-08:00sanjana,
I'm not sure I understand. Does the...sanjana,<br /><br />I'm not sure I understand. Does the sendmail activity come after the task is completed or after it is created? Is your replicator running in parallel or serial mode?<br /><br />I don't know of anything in the custom sequence that would prevent you from using the sendmail activity, however, I did not use the sendmail activity so I cannot say for sure.Michael Mayerhttps://www.blogger.com/profile/17564035137884112839noreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-29188562983071280902010-12-01T21:24:07.253-08:002010-12-01T21:24:07.253-08:00Michael,
I tried creating the custom activity aga...Michael,<br /><br />I tried creating the custom activity again. I am able to add it to the workflow now. All the activities are running fine except when i add a sendmail to the custom activity.<br /><br />When i send a mail from custom activity, it is sending mails but the previous task is still in progress and new tasks are not visible on task list. there is no error while debugging.<br /><br />is there any way that i can send mail through custom activity.<br /><br />I require your help on this. Thanks.Roopahttps://www.blogger.com/profile/00458451509950133306noreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-7347330957972529032010-12-01T07:45:28.243-08:002010-12-01T07:45:28.243-08:00sanjana,
Do you mean you are not able to add the ...sanjana,<br /><br />Do you mean you are not able to add the custom sequence to the workflow, or are you not able to add activities to the custom sequence?Michael Mayerhttps://www.blogger.com/profile/17564035137884112839noreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-68774958978180632032010-11-30T20:46:55.919-08:002010-11-30T20:46:55.919-08:00I created the custom activity and compiled the sol...I created the custom activity and compiled the solution. I am able to view it on my toolbox.<br /><br />when i try to add it to my workflow, it does not display the activities inside the custom activity.<br /><br />please suggest.<br /><br />thanks in advance.Roopahttps://www.blogger.com/profile/00458451509950133306noreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-34030076509783055792010-11-22T13:18:33.658-08:002010-11-22T13:18:33.658-08:00rmanimaran,
That is correct. All of the activiti...rmanimaran,<br /><br />That is correct. All of the activities that one task has to go through are placed inside the custom sequence. The custom sequence is then placed inside a standard workflow replicator and in my case the replicator was set to run in parallel. As a result several instances of the custom sequence were fired at the same time. When all of the custom sequences are complete, the replicator completes and the workflow progresses. The replicator you see in the first screen shot I provided is indeed in the main workflow. In my case there are several other replicators throughout the workflow but they all follow the same logic as the one that I displayed.Michael Mayerhttps://www.blogger.com/profile/17564035137884112839noreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-64142239030442028452010-11-22T02:27:21.517-08:002010-11-22T02:27:21.517-08:00Michael,
In the custom activity, whether we need t...Michael,<br />In the custom activity, whether we need to place all other activities? I mean, in your code whether you have placed CreatePreModeMgrApprovalTask,while activity ,onTask changed and Complete Task activity in the custom Sequence activity and place the custom activity in main workflow?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-44007437357680300282010-11-19T07:19:26.773-08:002010-11-19T07:19:26.773-08:00rmanimaran ,
My TaskItem class has no methods, it...rmanimaran ,<br /><br />My TaskItem class has no methods, it is just a collection of properties for me to store data. If your TaskChanged event is not firing the first thing I would suggest is to make sure that the TaskId property of the TaskChanged event is pointing to the TaskId property of the CreateTask event. You also need to make sure the TaskChanged event is using the same CorrelationToken as the CreateTask event and ensure that the BeforeProperties and AfterProperties and instantiated for the TaskChanged event.<br /><br />Hope that helpsMichael Mayerhttps://www.blogger.com/profile/17564035137884112839noreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-41088192382712966732010-11-19T02:02:29.127-08:002010-11-19T02:02:29.127-08:00Thanks for the code. I have a doubt.I have created...Thanks for the code. I have a doubt.I have created custom activity. Can you tell what I have to do in TaskItem class. Still my TaskChanged event is not firing.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-24098819799908134412010-10-14T07:46:34.289-07:002010-10-14T07:46:34.289-07:00maulikCE,
What specific code are you looking for?...maulikCE,<br /><br />What specific code are you looking for? I have posted everything necessary to create parallel tasks.Michael Mayerhttps://www.blogger.com/profile/17564035137884112839noreply@blogger.comtag:blogger.com,1999:blog-2073183771382712044.post-6206620096300995862010-10-14T04:30:35.199-07:002010-10-14T04:30:35.199-07:00Can you post a code or send it to my email Id, we ...Can you post a code or send it to my email Id, we are trying to do something similar. We are new to both workflow foundation and SharepointmaulikCEhttps://www.blogger.com/profile/12764393149660520427noreply@blogger.com