.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

How to update the workflow, add, remove, activities and transactions that operate above the previous

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :JavaScript/VBScript
 

Using AddedActivity and RemovedActivity, Sql Tracking Database




View Complete Post


More Related Resource Links

Windows Workflow: Build Custom Activities To Extend The Reach Of Your Workflows

  

This article covers the core components required for building custom activities in Windows Workflow Foundation.

Matt Milner

MSDN Magazine December 2006


Cutting Edge: A Tour of Windows Workflow Activities

  

Windows Workflow Foundation supports virtually any scenario where human opera¬tors are involved. Learn how to use it to tame your workflows.

Dino Esposito

MSDN Magazine November 2006


Update workflow task

  

Hello guys,

 

I created a timer job service to send reminders when a task is overdue, now I am looking at how visible it is for reassigning the task to some one else within the timer job service itself.

 

Is this possible?

 

Thanks


Custom sequence activity deriving from System.Workflow.Activities.SequenceActivity

  
Hi, I try to create custom sequence activity. I found some sample (http://social.msdn.microsoft.com/Forums/en-US/wfprerelease/thread/f54e8eb2-29d9-46f6-ad96-766fe6fad333/). But this custom activity looks ugly (to separate nested activity using ellipses instead of arrows). My question is - how to create custom sequence activity, which will look like sequence activity. I also found this sample - <ContentPresenter x:Uid="ContentPresenter_1" Content="{Binding}" Style="{x:Static sacdt:DesignerStylesDictionary.SequenceStyle}"/> When I used this ContentPresenter my custom activity looks like System.Workflow.Activities.SequenceActivity, but I couldn't put on it another activity. I also created class, which derives from System.Workflow.Activities.SequenceActivity, but I couldn't see it in toolbox. My question is - how to create class, which derives from System.Workflow.Activities.SequenceActivity and is visible in toolbox or how to use ContentPresenter for sequence activity, which allows put on itself another activity.

Remove Previous Versions

  
Hi, With the following setting, it is not removing previous version: I have the DetectNewerInstalledversions= True Remove Previous Versions = True Version = 5.0.1 In the next build i incremented the Version to 5.0.2 It asked for changing the product code and i clicked on Yes. When i installed it is not removing the previous version. Instead it is installing the software. Can anyone help with this? Thanks

Group activities in to rehosting workflow.

  
I want to group multiple activities in rehosted workflow designer.

Delivering Replicated Transactions ? No update on subscriber

  
I set up a Transactional Replication on 2 Standard 2008 SQLSERVERs on LAN - one was publisher and also distributor - another one was the subscriber All options are default. My SQL Replication has worked normally for 5 days until yesterday. Periodically, i checked the data on subscriber manually, there are no update for subscriber for 12 hours. I tried to View Synchronization Status and also Replication Monitor. Everything seem fine excepting the below status didn't change for a long time. "View Synchronization Status  :  Delivering Replicated Transaction" I tried to test the latency of distributor and subscriber by inserting a Tracer in Tracer Tokens of Replication Monitor. The latency of "Publisher to distributor" was 00:00:01, but the latency of "Distributor to Subscriber " and "Total latency" were "Pending". It still was "Pending" after 30 minutes. -The biggest transaction of my system just updated 35.000 records/time. It's not big enough to stuck the replication. -There is no trigger on the subscriber.   1.Any suggestions so far ? Thanks 2.The status is "Delivering Replicated Transactions" . So, where to see the current transactions that have been delivering by Distributor ? The one that caused system stuck. Not all. The highest one in agent queue

Workflow "Remove user from group"

  
Simple as that, anyone know of a 3rd party or simple script to get this done, its the ONLY thing holding me back from completing a major project >_<   Never have done share point custom work flows but this seems to be a time to learn >_<

Start workflow on database update

  
HiIs there a way to start a workflow when something in a database has changed (e.g. a row was added)? I am looking for something similar to a Receive activity, but which monitors parts of a database.Could that be achieved by having a "master" workflow that spins off sub-workflows?ThanksAlex

Approval Workflow does not update the Content Approval status if started automatically

  

Hi,

I’m using a simple Approval Workflow associated with Content Approval on site pages. It works fine when I set it to be started manually (by using Allow this workflow to be manually started by an authenticated user with Edit Item permissions  option) and on the completion of the workflow the Content Approval status is updated accordingly. But when I set it to be started automatically (by using Start this workflow when a new item is created  / Start this workflow when an item is changed options), it does not updates the Content Approval status. Note that I’ve set the Update the approval status after the workflow is completed (use this workflow to control content approval) option to true.

Regar

Approval Workflow does not update the Content Approval status if started automatically

  

Hi,

I’m using a simple Approval Workflow associated with Content Approval on site pages. It works fine when I set it to be started manually (by using Allow this workflow to be manually started by an authenticated user with Edit Item permissions  option) and on the completion of the workflow the Content Approval status is updated accordingly. But when I set it to be started automatically (by using Start this workflow when a new item is created  / Start this workflow when an item is changed options), it does not updates the Content Approval status. Note that I’ve set the Update the approval status after the workflow is completed (use this workflow to control content approval) option to true.

Regards

Approval Workflow does not update the Content Approval status if started automatically

  

Hi,

I’m using a simple Approval Workflow associated with Content Approval on site pages. It works fine when I set it to be started manually (by using Allow this workflow to be manually started by an authenticated user with Edit Item permissions  option) and on the completion of the workflow the Content Approval status is updated accordingly. But when I set it to be started automatically (by using Start this workflow when a new item is created  / Start this workflow when an item is changed options), it does not updates the Content Approval status. Note that I’ve set the Update the approval status after the workflow is completed (use this workflow to control content approval) option to true.

Regards

Validating activities sequence in a workflow

  
Dear all,

I rehost a workflow designer and there is a flowchart activity as a default root activity in it. I want to validate the activities in the flowchart was arranged in the right order, e.g. Activity2 must be performed before Activity3, Activity1 must be performed after Activity3. How can I do it programmatically to the Xaml content generated by the designer?

Thanks in advance.

Update Infopath Fields with SharePoint Designer Workflow

  

Hi All,

Is there any way to update InfoPath Field and column with SharePoint Designer Workflow? I have an InfoPath Form Library on which I have published an InfoPath form. Now I want to change values of submitted infopath forms using SharePoint Designer Workflows ?

For your Information:

I am using SharePoint 2007 updated with SP2.

 

Regards..

 


Update Approval Workflow task status

  

Hello All

I am trying to update the task status automatically after a list item is approved without much luck. I need to set the task status to "completed" without having to manually hitting the "complete task" button, so the next person in line can approve the list item.

How can I change the status of a task using SharePoint Designer 2010?

In my SharePoint Designer task editor I have:

<code>

if Current Item:Approval Status equals 0;Approved

---I need to add a line in here that updates the task status to "completed"

Assign Approve list item to User2

</code>

 

Thank you all in advance.

Regards

Yoshi


Update Infopath Fields with SharePoint Designer Workflow

  

Hi All,

Is there any way to update InfoPath Field and column with SharePoint Designer Workflow? I have an InfoPath Form Library on which I have published an InfoPath form. Now I want to change values of submitted infopath forms using SharePoint Designer Workflows ?

For your Information:

I am using SharePoint 2007 updated with SP2.


Using "Transaction activty" in Workflow to update 2 tables - throws "communication with the underlyi

  

Scenario:
I created a transactionscope over 2 code activities,
Code activity1 opens a connection, fires an insert into a table and closes the connection.
Code actibity2 also opens connection, does a simple insert into same table and closes the connection

Observation:
I get the following exception:
The 1st code activity runs fine, then the second code activity fails when it tries to open a connection and I get this message "Communication with the underlying transaction manager has failed. "

Note:
I have persistence services working properly, I'm able to persist the workflows..which means my MSDTC is configured right, also able to insert data into the tables..but when I use the transactionscope I just get that error whever I open the connection in the second code activity

Am I missing something or this is one of those inbuilt bugs of the "workflowfoundation" bugs like the timer etc?



Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend