.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

Variable Workflow Template

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#
 

Question. I'm developing a workflow with 6 approvers. The first approver could be one of ten engineers, while the remaining are single, fixed approvers.

Is it possible to create a template meeting that criteria or would the initiator have to create a new workflow each time?

Thanks for your help.


Regards, Silvana


View Complete Post


More Related Resource Links

Workflow persistence with a non-serializable variable

  
I'm using Entity Framework and WF4. I want to be able to persist a workflow but one of my variables in the workflow is an EF ObjectContext. Is there a way to make the workflow persist-able and when it re-hydrates, has a fancy new ObjectContext instance?Blades Don't Need Reloading...

Out of the Box workflow template

  
hi All, Where can i get or try to deploy the fully functional workflow template for MOSS 2007 SP2 ? Thanks./* Infrastructure Support Engineer */

Change Variable and Argument editor in workflow designer?

  
Is it possible, in Beta 2, to customize the behaviour of the editing grids use for entering data about a workflow's variables or arguments in the workflow designer?  Can I:- add my own custom column to the grid?- can I customize the variable type drop down editor? (e.g. have my own editor or otherwise filter the list of types)- can I change the "default" expression editor (and possibly remove it)?Thanks,Notre

Dynmic updation of Variable name in Workflow 4.0

  
Hi, I have created couple of variables & used them in workflow. Now suppose client changes the name of a variable then that has to be updated dynamically at all used places in that workflow. Any suggestions to achieve this...

Workflow designer causes VS 2010 RTM to freeze when editing build process template.

  
I have a Dell Studio 1747 laptop with Intel i7 1.6GHz, 6GB RAM, Windows 7 Professional x64. I recently "updated" VS 2010 RC to RTM (removed all of RC and installed RTM). So far so good. Also, I have TFS 2010 RTM on the machine working perfectly, and have two team projects in there. Now, on a given solution, I copied DefaultTemplate.xaml to NewDefaultProcessTemplate.xaml and checked it in. I check it out and open it, and the workflow designer shows up. Then, I "Expand All" and go down to the "Compile, Test, and Associate Changesets and Work Items" section. If I click a subsection to collapse it, the mouse cursor changes to an hourglass and stays like that indefinitely. Sometimes, after a couple of minutes, the action is performed; then, it happens again up to a point where VS completely freezes. I have cleared VS 2010 cache, and have performed a repair on VS 2010 and TFS 2010 (just in case) to no avail. I have even disconnected from TFS right after openning the file, and still the same issue. This is f****** extremely frustrating. I can't do anything on the workflow designer. HELP !!!!!

how to trim a string value of a workflow variable using SharePoint designer.

  

I build a custom workflow using SP designer and have a need to trim a string value of a workflow variable. I tried using Calculation or Dynamic String builder but without success.

i store a user name type value into workflow variable called  check_name_var (string type). the logon name have this format  domainname\first_lastname 
how do i trim this value in check_name_var to only first_lastname.

Can anyone show me how or have suggest on how to accomplish this or is it possible to do this in SP designer?

Thanks for your help


Time card management template workflow issue

  

If we installed Time card management template in share point 2007 By default it will be working (work flow) right?

Otherwise we have to configure anything?

If i try this workflow message is failed to start


Workflow with the site Template

  

Hi,

I have a workflow which works perfectly with the site but once i save the Site As Template and create few more sites based on the templates, my workflow doenst work. and It doesnt fire it seems. even though That workflow is there in the list in the New site.

Please help me out.

Thanks

Parth


Workflow Doesnt Come with Site Template

  

Hi,

I am facing problem, while saving the site as Template, along with the site template i should be able to get the Workflow as well,

But while creating the new site from the Tempalte, New site doesnt have the Workflow in it,However i am able to see the Workflow name but Files under that Is not available.

Can anyone please guide through this.!?

Parth


Sharepoint 2010 List data to Word Template via Workflow

  

Ok, I am using Sharepoint 2010 and Designer as well as Infopath 2010. I have a requirement to send out a word document (via workflow) that will be a template that references fields from my Sharepoint List.

Any help is appreciated, I do not want to buy anything extra and a no-code solution would be best.

 


Problem passing local variable for Approvers email in customised Approval workflow

  

I am building an Approval workflow using SPD and have used the Start an Approval Workflow task action.

The workflow works on a change register and looks up different list of approvers assigned to change items.

Using Local Variables, the look up assignment works fine.

My problem is that when I pass the Approvers variable to the email at the end of the workflow (the on Current Item with... part) it appears the variable in empty?

I have used the approach of adding a variable check in the content of the emails - as the workflow sends the emails anyway. The lookup works fine - it’s just the email at the end of the process that does not seem to be able to see the contents of the variables that are shown to be set earlier.

How to set or assign a Workflow Variable from data entered in a Form Web Part

  

Greetings -

I have a Form Web Part wherby the user enters a number

That number is sent to a subsequent Data View WebPart that uses the number to pull data from another source via a Web Service.

This all works fine. BUT

I'd also like for that number entered into the Form Web Part to be set as a Variable to be used until a new number is entered into the Form Web Part when the variable will be changed accordingly.

I need the newly set variable to be later used for filtering out data in other lists and views.

I also need the variable to automatically set a field in any newly created list item.

Gurus, please help.


How to assign a workflow argument with Direction=Property to a workflow variable?

  

I created an argument 'ArgTest' with Direction=Property and ArgumentType=String and a variable VarTest with VariableType=String.

I'd like to assign ArgTest to VarTest. Direct assignment (using Assign activity) doesn't work, because there is a compiler error "'ArgTest' is not declared. It may be inaccessible due to its protection level".

I tried to change definition of Assign activity in XAML using PropertyReference (which is System.Activities. ActivityPropertyReference) :

<Assign sap:VirtualizedContainerService.HintSize="242,58">
 <Assign.To>
  <OutArgument x:TypeArguments="x:String">[VarTest]</OutArgument>
 </Assign.To>
 <Assign.Value>  
   <PropertyReference x:TypeArguments="x:String" PropertyName="ArgTest" />  
 </Assign.Value>
</Assign>

, but I got runtime error: "Object of type 'System.String' cannot be converted to type 'System.Activities.Activity`1[System.String]'."

 

From another reasons it's important for me to have Direction of ArgTest set to Property instead of In.

I believe the solution must be easy, so I feel like I'm missing a trick. Thanks in advance for any pointers.


How can I show data from a Workflow variable in a Collect Data from User form?

  

Hi,

I have collected some data from a user in a SharePoint Designer workflow step and I now want to display that data in a second "Collect Data from User" form at a subsequent step in my workflow.  How can I add the content of my Workflow data variable in the Collect Data from user form?

This guy says he has done something similar but does not explain the detail: http://www.mstechblogs.com/paul/spd-workflow-collect-data-from-a-user-modify-the-generated-task-form

I'm keen to hack at the aspx form in SPD but I really need the particular line of code that will do it as I'm not a developer.

Your help is greatly appreciated!


How can I show data from a Workflow variable in a SharePoint Designer Collect Data from User form?

  

Hi,

I have collected some data (a comment) from a user in a SharePoint Designer (SPD) workflow step and I now want to display that comment in a second "Collect Data from User" form at a subsequent step in my workflow.  How can I add the content of my Workflow data variable, or even data from my original item, in the Collect Data from user form?

The Collect Data from user form is generated out of the Workflow Tasks list and only contains the url of the item where I could store the comment and which has the workflow attached to it.

This guy says he has done something similar but he appears to only use the URL and static info and does not explain the detail in any case: http://www.mstechblogs.com/paul/spd-workflow-collect-data-from-a-user-modify-the-generated-task-form

I'm keen to hack at the aspx form in SPD but I really need the particular line of code that will do it as I'm not a developer.

Your help is greatly appreciated!


Cant find workflow approval template

  
I am using sharepoint 2010,I am trying to attach an approval workflow from the workflow settings to a document library but I cant find the template for workflow approval,only disposition approval and three state approval

Assign SharePoint list sum total value to a sharepoint designer workflow variable

  

I have a similiar question and get answered but the solution is possible but not simple as I thought.   So I like to ask it again

I use SPD to build a workflow and I need to be able to get a SharePoint list column sum total value to assign to one of the workflow variable.

Do anyone have a similar situation and have came up with a solution , please share

Environment is  MOSS 2007 /SP2.

Thanks you so much in advance.

Swan


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