.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

sharepoint workflow Problem

Posted By:      Posted Date: August 27, 2010    Points: 0   Category :SharePoint
 

How to retrieve current User's Manager from the Sharepoint Profile. Acually i ve to create a approval workflow,wen the workflow initiate the request of approval should be go to the currnet user's manager.Ex- if You are the current user then Request should be go to Ur manager. and if i m the current user then request should be go to my manager?

Thanks in Advance




View Complete Post


More Related Resource Links

Sharepoint Designer Workflow Problem

  
Hy there   I have a question.. I have started with WSS 3.0 and sharepoint designer. My problem is, i have a workflow...first creates a new element in the second list and the second flow starts.. The Problem is , some errors have occured in the log list.   I have multiple errors like this : 8xfr    Verbose     PermissionMask check failed. asking for 0x00000005, have 0x00000000, But i have full permission!   Second error : event handler error Event ID: 6875, i have already tried to repair sharepoint services ..but already the error exists in my loglist.   A Phenomen is , the workflow worked a week ago pretty fine, ..i had made some changes to the tasklist (name)..and so ,..and the workflow wont proceed successfull..after that i created a new website and tried to rebuilt my workflow...nothings changed... Curious is, that i dont get email information, about assigned tasks to my account,...and the "Wait until "... procedure wont work..you can make changes.... the list already stays in the "In process" status.   Hopefully someone has helpfull infos for me   Nice greets   Sascha    

Sharepoint Designer Workflow Problem

  
Hy there   I have a question.. I have started with WSS 3.0 and sharepoint designer. My problem is, i have a workflow...first creates a new element in the second list and the second flow starts.. The Problem is , some errors have occured in the log list.   I have multiple errors like this : 8xfr    Verbose     PermissionMask check failed. asking for 0x00000005, have 0x00000000, But i have full permission!   Second error : event handler error Event ID: 6875, i have already tried to repair sharepoint services ..but already the error exists in my loglist.   A Phenomen is , the workflow worked a week ago pretty fine, ..i had made some changes to the tasklist (name)..and so ,..and the workflow wont proceed successfull..after that i created a new website and tried to rebuilt my workflow...nothings changed... Curious is, that i dont get email information, about assigned tasks to my account,...and the "Wait until "... procedure wont work..you can make changes.... the list already stays in the "In process" status.   Hopefully someone has helpfull infos for me   Nice greets   Sascha    

Problem while creating task with custom content type in sharepoint workflow

  

Hi all,

I am trying to create task with custom content type in sharepoint statemachine workflow. But it is showing "Error Occured" after task creation code is excecuted. can anyone tell me what is the problem.

Task Content type

 

  <ContentType  ID="0x01080100A707C0079E8547c0A87515457DB90629"
      Name="TaskContentTypeForLeaveApproval"
      Group="Development"
      Description="Workflow Task"
      Version="0"
      Hidden="TRUE">
    <FieldRefs>
      <FieldRef ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}" Name="MyComments" DisplayName="MyComments"  />
     </FieldRefs>
    <XmlDocuments>
      <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url">
        <FormUrls xmlns="

Problem validating StringBuilder fields in SharePoint 2010 Custom Workflow Validators

  

One of our custom SharePoint Designer workflow activities, which have always worked fine in SharePoint 2007, fails to validate.

This appears to happen when a Workflow Activity that contains a StringBuilder field also contains a lookup variable.

<FieldBind Field="CustomCode" Text="this code" Id="1" DesignerType="StringBuilder" />

For example when we store the following in this StringBuilder field

"Today's date = [%Current Item:Transaction Date%]"

This field returns 'null' in the ActivityValidator. As a result we cannot validate its contents.

When

SharePoint Designer workflow task - problem with multiple users selector in InfoPath form

  

Gentlemen,

 

I have got an issue with InfoPath form generated for my SharePoint Designer workflow task. There is a multiple users selector that requests users from a task assignee. The problem is that only the first user entered got saved.

 

I am using SharePoint 2010 Standard Server (release). Steps to reproduce are the following:

problem in task assign workflow in Sharepoint Designer ?

  

I have created workflow in spd 2007 .

i have created two group in AD - one is Users other is Approver.

when i write " If createdby equals Users  set assigned to to Approver " this condition task can not assign to Approver .

plz tell me how it is possible...


SharePoint 2007 workflow problem Application Event Viewer shows Event 1314

  
I created a state machine workflow that works well in a test environment with only one user. When attempting to run the workflow in the production environment, the user sees the message operation in progress. The workflow will not continue. The event log on the server shows Event ID 1314, Event Code 4011. It looks like this has something to do with permissions on the server but I'm not sure where to go from here. I've Googled this and not been able to find a resolution. Any help would be appreciated.

Free Series of SharePoint Workflow How-to Videos

  
This is the series of "How to" Document Workflow with SharePoint using Visual Studio 2008 (using the .NET Framework 3.0 for backward compatibility to Visual Studio 2005). I have created video's that show the most common requests that I have seen around MOSS/SharePoint 2007 workflow & document workflow.

Workflow Essentials: Collaborative Workflow Improvements in SharePoint 2010

  

In this article, the author covers the new features in SharePoint 2010 geared for workflow developers and then walks the reader through a couple of new user scenarios.

Paul Andrew

MSDN Magazine November 2009


Sharepoint Wiki Custom Workflow

  
Hello.

Has anyone done custom workflows for a sharepoint Wiki page? 

The workflow I'm trying to do is, whenever a new wiki page is created I want a new Discussion page  to be created for that wiki page?

Any Help?

Setting permissions of a specific SharePoint workflow

  

We have a very simple workflow whereby an document placed in a public library (INBOX) is moved it to a private library (VERIFY) and then deleted. The workflow works correctly when someone who has access to the VERIFY library drops a record into the INBOX library.  However it does not work when the user does not have access to the VERIFY library.

I was told that I need to "set the AD group associated with a specific SharePoint workflow" but cannot find any reference to this in SPD.

Thanks.

 


Terminating a SharePoint Workflow Programatically

  

 

I have a custome workflow coded in VS 2005 and deployed in to GAC and associated to a List in the SharePoint Portel through MS SharePoint Designer.

 

When an Exception happened in the code, the worklow instance' Status is shown as "Error Occured" and get suspended. since this workflow instance is "hung up" at this list item another instance of the workflow can't run. To run another instance you have to go into the SP Portal --> List and click on the "Error Occured" under the workflow of the item and then you have to terminate the workflow by clicking on the "Terminate this workflow now" link.

 

I just need to do this function ("Terminating the workflow") in the code in my Catch block where i handle the exception of the workflow activity.

 

could some one please tell me how to do this? or even point me in the right direction?

 

i've so far tried varity of:

SPWorkflowManager.CancelWorkflow(workflow);

 

and

 

ActivityBind activityBind = new

Workflow "Failed on Start (retrying)" when new item created by BizTalk SharePoint Adapter

  

We've been using the BizTalk SharePoint Adapter to load various different contents into a MOSS 2007 Document Library. The library has a Microsoft Office SharePoint Designer 2007 workflow (sequential workflow created in Designer) which starts automatically when a new item is added to the Document Library. Or, at least, it eventually starts automatically.

 

For some unknown reason--and this is what we're hoping some of you may have some ideas on--the workflow fails to start on the first try, producing the "Failed to Start (retrying)" message. When the timer job comes back the second time, the workflow starts successfully, but this causes us to loose five minutes of potential work time (not to mention making us look bad to the VPs and CTO because they see the failure message).

 

In checking the log, I find the following pair of error messages each time the "Failed to Start (retrying)" status occurs:

 

08/27/2007 13:49:43.24  w3wp.exe (0x0CA0)                        0x1438 Windows SharePoint Services    Workflow Infrastructure        72fs Unexpected RunWorkflow: Microsoft.SharePoint.SPException: <Error><CompilerError Line="1" Column="1" Text="The root activity type is invalid.&q

Trying to send email using Sharepoint Designer 2007 workflow and email enabled list

  

I have a a list that recieves email. I have few fields that shows me the originator: "E-Mail From" and "E-Mail Sender".

I am trying to create a workflow that will generate an auto reply to the originator but the SPD fails to recognize the email address in these two fields. It's either truncating part of it or uses the html ( href=mailto:Demo@DemoSomething.com) in the To field.

Thank you,
Tzach.

 


SharePoint 2010 Long Starting if start workflow programatically

  

In SharePoint 2010, I'm starting workflow #2 programatically from my workflow #1. See code below:

					SPList currentList = web.Lists[new Guid(ListId)];
					SPListItem currentListItem = currentList.GetItemById(ListItem);

					//resolve any lookup parameters
					string workflowId = base.ProcessStringField(WorkflowIdentifier);

					//find workflow association by name
					SPWorkflowAssociation workflowAssoc = currentList.WorkflowAssociations.GetAssociationByName(workflowId, Thread.CurrentThread.CurrentCulture);

					if (workflowAssoc != null)
					{
						//start the workflow
						SPWorkflow workflow = site.WorkflowManager.StartWorkflow(currentListItem, workflowAssoc, workflowAssoc.AssociationData, SPWorkflowRunOptions.Synchronous);
					}

And workflow #2  will hang with Starting status (1-10 minutes), Then the workflow #2 status would be modified  to Completed.

I couldn't find how to start the workflow # 2 immediately and complete immediately without several minutes delay

How can I implement this workflow scenario with SharePoint Designer?

  

Hi,

I have a document content type and a library which contains this content type. here is what I want to do:

- when user creates a new document in this library, he will enter some user  names with people picker and then a message including some columns of the content type will be sent to that users. And then, at a certain date (lets say 1 day before a date that is one of the site columns) another email, a reminder will be sent.

I havent been able to find :

1- how can I replace a people picker field on workflow initiation form and how can I make it sent email to the user.

2- How can I make it sent a reminder email 1 day before the date that is stored in one of the columns of the content type(current item)

any help would be welcome,

Ceren


SharePoint Workflow E-mail Hyperlink has the Spaces Between Two Words Are Removed

  
I have a very simple Workflow, that includes href link to Infopath form.
If the form name includes spaces, the URL redirects to a The Form has been Closed message, indicating that it cant find that form.
In our scenario, the file name of the document/form in SharePoint when saved is called "Travel Request - <submit date>"  as noted with spaces.
The Hyperlink URL in the email generated by the workflow appears to encode all values in the name after the first two words (after Request).  See below.  after the word Request the spaces are encoded properly.     its replacing the first space with it appears %0d%0a (CR LF)
The URL below is what is displayed when right clicking, and selecting Edit Hyperlink in the email

I can reproduce this in development and production.  Any ideas on how this can be resolved?

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