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


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

I need a workflow triggered by a workflow...how do I design this? Beginner question

Posted By:      Posted Date: August 31, 2010    Points: 0   Category :SharePoint
 
I've added the Approval workflow to a forms library and it generates the necessary tasks and emails for 2 levels (serial) of Approval on the form. When the form has been approved the 2nd time, I want it to trigger another workflow that notifies a 3rd person of the existence of the form and assigns her a separate non-approval task. I'm creating it in SharePoint Designer, and I can do most of it, but I'm not sure what field I'm looking for, at the beginning in order to start the workflow. Currently, there is no column for Approval Status in the form library, only a column that shows the status of the workflow (In Progress or Approved).  I tried If Workflow Status equals Approved then email.... but that didn't work. Any help is greatly appreciated.  I'm looking for the data source field and the list item field and value, I guess.  


View Complete Post


More Related Resource Links

Workflow Services: Visual Design of Workflows with WCF and WF 4

  

The .NET Framework 4 makes it easier than ever to implement WCF services using WF. We'll demonstrate just how easy it is by modeling a long-running, durable and instrumented workflow based on a real-world business case without having to write any code.

Leon Welicki

MSDN Magazine May 2010


Foundations: Windows Workflow Design Patterns

  

Design patterns provide a common, repeatable approach to solving software development tasks, and many different patterns can describe how to accomplish a certain goal in code. When developers begin working with Windows Workflow Foundation (WF), they often ask about how to accomplish common tasks with the technology. This month's column discusses several design patterns used in WF.

Matthew Milner

MSDN Magazine August 2009


workflow 4 correlation / persistence question

  
Hello all, I would like to understand why the following behavior takes place. In most cases my workflow that runs monthly account renewals works just fine. But with selected accounts it gets stuck. What I mean by stuck, is that a record is created in System.Activities.DurableInstancing.InstancesTable (in my persistence db), but IsInitialized remains to be set to 0 (so is IsSuspended, IsReadyToRun). When I step through my workflow, I see that the problematic accounts do not pass InitializeCorrelation activity (I pass an AccountID to initialize AccountIDHandle). What I can't figure out is  where InitializeCorrelation looks to determine if a flow with a given AccountID already runs? I killed all the instances of workflows in the database using DeleteInstance stored procedure, so InstancesTable has no rows. And yet the same problematic accounts trip over InitializeCorrelation activity - a new instance of a workflow will be created and stored in InstancesTable with IsInitialized = 0. Thank you very much, Andrei  

Workflow designed for infopath 2007 fails when triggered by infopath 2010

  
I have a workflow that changes the permissions on an infopath form that is saved to a library. When the form is saved to the library with infopath 2010 the workflow fails with the following error:  DP.Sharepoint.Workflow.DPWorkflowException: Error loading form data file. Likely causes: this file is not a valid InfoPath Form! ---> System.Xml.XmlException: Root element is missing. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xm I have tried to uninstall infopath 2010 and office 2010 then install infopath 2007 and the workflow still fails. Can someone help me either figure out what I need to change on the workflow for it to function with infopath 2010 or what the uninstaller is missing when removing the office 2010.   

how to deploy a workflow design in SharePoint Designer 2007 in a list from development server to pro

  

how to deploy a workflow design in SharePoint Designer 2007 in a list from development server to production server. 

 i create a workflow in a list with SPD 2007 . I want to deploy it to production server who i can do this.


Thanks and Regards Er.Pradipta Nayak

WSS 3.0 Design the Workflow

  

Hi,

 

I have WSS 3.0 and want to set up a Workflows which can send message notification.

I follow the Microsoft article below but it appears that the instruction is for MOSS 2007? In the section “Design the workflow”, step 9, I don’t see “Custom Condition (Shared Documents)” selection from the drop down list. Please help.

 

http://office.microsoft.com/en-us/sharepoint-designer-help/workflow-example-send-a-notification-message-HA010182908.aspx

 

2007 SPD Workflow Question

  

This may have been asked before, so forgive me if that is the case.

I have a source library with many document fragments that will be used to create master documents.  The idea is to right click on a particular document fragement and select a "Copy Item" workflow for copying the item into a temporary library for constructing the pieces.  There will be several of these libraries and the names will change fairly often.   When executing the workflow, is there a way to prompt the user to choose which of these "construction" libraries to use?.

Many thanks in advance.


Question about Workflow in Document Library with version control and check-in/out enabled

  

Hi,

I use Sharepoint Foundation 2010 and have a workflow to set some metadata in a document with version control and check-in/check-out enabled (approval content is not enabled because anyone in the team can be a possible editor of the document).

My metadata is:

- a generated doc id with text+id (example P&D_1)

- a calculated status based in version: minor version = "on development" and major-version="published/approved"

I defined two workflows:

1) is called when item is created to define id and status.

2) is called when item is updated and status is re-calculated if version is major. (It is called in every item change, not only when user wants to publish a major version, because this option doesn't appear in SPD)

I noticed that sharepoint workflow must do a check-out to be able to update metadata, and because of this the version number is incremented. When version is minor, I don't care, but when version is major I have a problem, because just after publishing the version 1.0, the workflow changes metadata and the version to 1.1. and 1.1 means that the document is not approved anymore...

Questions:

a) Isn't it possible to do the workflow to check-in and override the last/current version to not generate a new version??

b) Or is it possible to stop versi

How to design a form to respond to a workflow status of a Custom worklow (not OOB workflow)

  

The following article describes how to change view of a browser enabled InfoPath form based on the current status of a workflow: Design a form to respond to a workflow status
The article uses an Out-of-the-box (OOB) workflow and its workflow column.

But, I have created a custom workflow using SharePoint Designer (SPD) and according to the some responses to my following post, , the workflow column in a custom workflow cannot be modified to display the values “Approved”, “Rejected” etc.

How can I then change the views of a browser enabled InfoPath form based on the current status of a workflow. I want to display the form as follows:

  1. Make it read only once it has been submitted.
  2. Make it Green once it has been approved
  3. Make it Red if it was rejected

Thanks……..


How to design a form to respond to a workflow status of a Custom worklow (not OOB workflow)

  

The following article describes how to change view of a browser enabled InfoPath form based on the current status of a workflow: Design a form to respond to a workflow status
The article uses an Out-of-the-box (OOB) workflow and its workflow column.

But, I have created a custom workflow using SharePoint Designer (SPD) and according to the some responses to my following post, , the workflow column in a custom workflow cannot be modified to display the values “Approved”, “Rejected” etc.

How can I then change the views of a browser enabled InfoPath form based on the current status of a workflow. I want to display the form as follows:

  1. Make it read only once it has been submitted.
  2. Make it Green once it has been approved
  3. Make it Red if it was rejected

Thanks……..


How to Design an Application Using Workflow

  
Hello Everyone

I am very much new to workflow and looking for some documentation which can do comparison between the application architecture based on using workflow and without work.

Thanks in advance.


workflow triggered during upload but after the user enters values in the properties dialog

  
 

1) When "Start this workflow when a new item is created" option is selected the workflow gets triggered as soon as the file is uploaded and even before the 'edit properties' dialog is displayed.  I want the workflow to be triggered after the properties are entered by the user on upload.

 

2) Selecting "Start this workflow when an item is changed." option also does not trigger the workflow during upload.  This triggers only when the user explicitly selects 'Edit Properties' dialog.

 

So my question is, how to get the workflow triggered during upload but after the user enters values in the prop

Question about Workflow Termination

  

I have read that if an user terminate a workflow, all the tasks associated with that workflow will be deleted. But, I think it is important to keep all the task details for future reference.

How do i prevent deleting tasks? Or atleast how can I prevent users terminating workflows?

Thanks,

Nith

 

 


Question on retaining workflow data after upgrading to SP 2010

  

Hi,

After upgrading from SP 2007 to SP 2010, will the workflow data be retained? I mean, if there are any workflows that are started but are yet to be completed, will there be any issues with those after upgrade? I tried finding about this in the Internet, but couldn't find any.


Cannot use an existing contract to design a xaml workflow

  

I am trying to use a contract first approach in designing Workflows but am facing problems. 

For Eg. If I have a Service Contract

[ServiceContract (Namespace="http://abc.com")]

    [ExceptionShielding("Test")]

    public interface IRegistry

    {

        [OperationContract]

        [FaultContract(typeof (CustomFault))]

        List<string> Update1(string projectToAdd);

 

        [OperationContract]

        List<string> Update2(string projectToAdd);

    }

I set the ServiceContract name as {http://abc.com/}IRegistry for the receive activity. But I was not able to make it hookup to the interface where I have a service attribute attached. 

How can I make sure that I implement the same interface when building a workflow in the designer. I was able to implement the same in a coded workflow though. Or even if I use a WorkFlowServiceHost I am able to attach service behaviors but am unable to do so without a WorkFlowServiceHost.

Bottom line is that is there any way we can use a Contract first approach for a XAML workflow and not a cod

Workflow triggered to run on a specific day-of-week

  

Hi Everyone:

I am using SPD not Visual Studio...

I need to create a SharePoint workflow that runs every Sunday on a list and sends a reminder email to users of inclomplete tasks. I read the information in the following link and it explains how to get workflows to trigger on a date based on number of days past item creation.  So any ideas on how I use this to set the due date to trigger every Sunday until item is completed?

http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-secondary-workflow-HA010237656.aspx

 

 


LMP

WSS 3.0 workflow question

  

I'm currently using wss 3.0.  I've got a list on site a and a list on site b. 

Site b is external and used to gather feedback from customers.  Site a is internal and processes the feedback data. 

I've got workflow on site a that sends out notifications and assignments any time a new list item is created on site a. 

I've got workflow on site b to move the item to the list on site a. 

Everything is working upto this point. 

What is not working is that workflow on site a is not activating when an item is moved to site a from site b. 

I've tried creating workflow that looks for specific words in an additional comments field.  I've even set a "sent" field on site b to be checked on site a but nothing is happening unless I manually start the workflow.

Can any help me figure out how to get my workflow to start on site a when an item is moved to it from site b?

 

Thanks.



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