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


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

Association Columns - Reusable Workflow

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :SharePoint
 

I have created a reusable workflow and added the site columns that I needed via the ‘Association Columns’ tab.  I have saved and published the workflow successfully.

I then realised that I needed to add more site columns, which I did in the same manner that I did previously.  I do get a warning at this point ‘Changing the association columns for this workflow can cause new instances of existing associations to fail’.

When I try to save the form I get the following error ‘Some association columns defined in this workflow are no longer valid.  This error may occur if the corresponding site columns have been deleted.  To fix the workflow, delete and recreate the affected columns’.


View Complete Post


More Related Resource Links

Reusable workflow and updatable columns

  

Hi,

I have created an infopath form which has promoted updateable columns I have then published this to the central forms service on our sharepoint farm and then activated this to one of our site collections. 

The content type for this seems to have been created successfully as all the site columns in the content type are showing that they are updatable.  I have then associated this content type to a forms library and am trying to write a reusable workflow in SPD which can make use of the content type. 

The problem that I have is that whenever the workflow writes to certain columns within the workflow the workflow errors with an error message like "Error the field could not update,  the field may be of a different type" .  This isn't exactly the error ( will post the exact message when I get back to work on Monday).  The field that I am updating is of string type and I am updating it with the value "Pending". 

Strangely when I write a list workflow on the forms library the workflow behaves as I would expect - updating the column correctly.  Has anyone else had this issue with reusable workflows.  If so what did you do to fix it. 

As a concept I would prefer to use the reusable workflows as it allows the workflow to be exported to code later on which we may ne

Reusable workflow and updatable columns

  

Hi,

I have created an infopath form which has promoted updateable columns I have then published this to the central forms service on our sharepoint farm and then activated this to one of our site collections. 

The content type for this seems to have been created successfully as all the site columns in the content type are showing that they are updatable.  I have then associated this content type to a forms library and am trying to write a reusable workflow in SPD which can make use of the content type. 

The problem that I have is that whenever the workflow writes to certain columns within the workflow the workflow errors with an error message like "Error the field could not update,  the field may be of a different type" .  This isn't exactly the error ( will post the exact message when I get back to work on Monday).  The field that I am updating is of string type and I am updating it with the value "Pending". 

Strangely when I write a list workflow on the forms library the workflow behaves as I would expect - updating the column correctly.  Has anyone else had this issue with reusable workflows.  If so what did you do to fix it. 

As a concept I would prefer to use the reusable workflows as it allows the workflow to be exported to code later on which we may ne

Assigning a reusable workflow to all content types in a list in one operation?

  
When creating a reusable workflow I choose a base content type. I would really like to assign this workflow to the content type at site collection top level and get it to automatically work in all lists that include this content type, and also have it set to work for all children of this top level content type. It seems to me that I have to manually associate this workflow to all lists and content types? I am missing something here? Henning

Deploy reusable Workflow on SharePoint Farm with other language pack

  
Hi all, I created a reusable workflow on my development system with no language pack installed. I saved the workflow as a template and saved the generated wsp. After that I added the wsp to a SharePoint farm at out customer (with the dutch language pack installed) and deployed the wps. Everything was looking good, but the WSP didn't creae a feature which I could activate, so I was not able to use the Workflow. Should it be possible to create a reusable workflow on a system with no langualge pack installed and install it on another system with a language pack installed? Johan.

Problems when deploying sequential workflow with association Infopath form of sharepoint 2010 using

  

I’ve create a workflow project with infopath in it. And I get the error

 “Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association data. To restore the association data to the workflow, restart the workflow settings wizard by selecting the workflow node in Solution Explorer and then clicking the ellipsis button (…) on one of the properties in the Properties window that has an ellipsis button.”

I'd really appreciate of any help.


Reusable Workflow Help

  

I am using SharePoint Designer 2010 to create a reusalble workflow that basically looks like this:

If <Something>  ... Start Approval process on CurrentItem with these users

Every time that I used "Start Approval ..." it put a number next to it; i.e. Approval(1), Approval(2), etc. So I clicked on it to discover that I could take this out-of-the-box flow and edit it to suit my specific needs.  Since there a few spots in my logic where I want to kick off the same approval process this seemed like a really helpful way to do it.  So I changed the name from Approval(n) to MyApproval and tweaked the behaviour to get what I wanted.

This seemed pretty cool as thought that it would allow me to create a Custom task that I could resuse in the workflow .. but that doesn't seem to be the case.  I just assumed that when I used the "Start Approval" Action I could choose my custom one from a list or something ... but I can't find it anywhere.

I spent a good bit of time searching for a solution in forums and blogs but can't seem to find anything.  I also tried to figure it out myself and under Custom Content Typpes, within Content Type Site Object, I see a bunch things that look like Approval_x0028_1_x0029

Getting Unexpected Error while Publishing my Reusable Workflow

  

*** UPDATE ***

After waiting for anyone to respond, and needing to figure this out, went into Central Admin and reversed steps (1) & (2) below to bring my system back to the state where the workflow would compile.  That didn't work ... I am still getting the error.  So now I am lost ... what could be causing this problem?  Anyone ??

********************************

I created a reusable workflow over a week ago and it has been working perfectly. Today everytime that I try to publish the workflow I get the following error during the "Validating the workflow" step:

"Errors were found while compiling the workflow... Unexpected Error on the server associating the workflow"

The only thing that has changed between when it worked and when it doesn't is that I configured the Server to enable ability to use the "Show workflow visualization on the status page" setting.  To do this I learned that I had to provision a Secure Store Service, create a Visio App ID and associate it.  So I followed these two sets of instructions:

  1. http://tinyurl.com/39l4jl4
  2. http://tinyurl.com/24w33lg

When I first got this error I did some Googling and found some p

SPD 2010 reusable workflow not picking up Current Item values

  

Hi, I have created an SPD 2010 reusable workflow that is attached to a specific content type...such content type is derived from a published InfoPath form with some of its fields being promoted, like the "Approvers" fields.

In SPD 2010, I add the " Start Approval process on Current Item with 'Participants' " action...those Participants I get (or at least I want to) from the Current Item: ApproversField.

After saving and publishing the workflow, I use the content type (set as default) in a form library and then add the workflow to it. After creating an Item the workflow is automatically rejected.

I checked the Workflow History and I realized the participants are not being picked from the current item's field... weird thing is, if I try the very same actions/etc in a workflow that is attached to that list everything works perfect... I tried to log messages all around the workflow process but the values never get picked up...

What am I missing here?

Thanks in advance.


Columns missing in SPD Workflow.

  

Hi all,

I wonder if anyone can shed some light on this.

I have a site content type (based on the form type) which uses some existing site columns from the parent site.  There's about 30 columns in total in the content type, however, when I try to read/write to these columns from within an SPD workflow (the content type is associated to a forms library), only a handful of the columns are available to use.  When I look at the content type on the library settings page, all the ones I can use are highlighted blue & are clickable, the rest are all grey & not clickable.

I presume this is something I've done wrong whilst creating the content type?

Any pointers on how I can make all the columns usable appreciated.

Stu

 


How to delete the copied reusable workflow in SPD 2010

  

Hi,

I copied one reusable workflow in Globally Reusable Workflow part in SharePoint Designer 2010. but while I deleted the copied workflow, the original one was also deleted.

I want to know how can I only delete the copied one?

Thanks.


Connie Zhu

sharepoint 2010 state machine Workflow With Association column

  

i create sharepoint 2010 state machine Workflow  and i need to add Association column (as in designer) is it possible to do?

and if yes could u plz tell me how??


How can i create a Custom Association Form for a workflow in visual studio?

  

I want to create a Custom Association Form for a workflow in visual studio, how can i do it?

I want to create a Custom Association Form with two buttons Acept and cancel.

Thank you.


Reusable workflow

  

We created a simple reusable workflow. We added an association column using an existing site column. We then added a “Set field in CurrentItem” step to the workflow to update the association column value. We published the workflow and associated with a Content Type. When we start the workflow manually on a document library having this content type, it runs fine; however, when we set it to run on item insert and item update, the workflow errors out on the step that we update the CurrentItem column value. What could be the reason? The Sharepoint log file does not have any informative clue other than stating that the workflow errored out. How else we can troubleshoot this issue?


MS SQL Server: Search All Tables, Columns & Rows For Data or Keyword Query

  
If you need to search your entire database for specific data, this query will come in handy.

So when a client needs a custom report or some sort of custom development using Great Plains, most of the time I will have to track down the data in the system by running this query and find the table(s) it is in.

Adding Multiple Columns and Rows in GridView without using a Database

  
This article describes on how to add multiple columns and rows in GridView without using a database. Basically the GridView will be populated with data based on the values entered in each TextBoxes on Button Click and retain the GridView data on post back.

add columns with textboxes in gridview using C#

  
'm working on a shopping cart in a website and I have my items(which have been added to the cart) in an arraylist. And using these values I've read the rest of the values from the db and and have populated on the gridview successfully.

Custom Editing Behavior for DataGridView TextBox Columns

  
For various reasons I'm using a DataGridView instead of a ListView, and while configuring the DataGridView to look like a ListView wasn't much of a problem, there's one thing that got on my nerves, which is the behavior of textbox cells in edit mode: It is much too easy to leave the edit mode accidentally, simply by pressing the cursor keys at the wrong time. For example when the text caret is positioned behind the last character of the textbox cell content, and you press the right arrow key
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