Workfow support for External Lists?
-
Saturday, October 24, 2009 5:36 AMModeratorHi,
Will there be Workflow support added to External Lists post beta?
Thanks,
Chaks
Regards,
Chakkaradeep
SharePoint Developer - MCTS SharePoint Dev, WSS Dev
Intergen: http://www.intergen.co.nz
Twitter: http://twitter.com/chakkaradeep
Blog: http://www.chakkaradeep.com
Answers
-
Saturday, October 24, 2009 10:58 PMModerator
You can associate a workflow as a custom action for your External List in SPD. You probably (and I'll have to double check but I'm 99% sure) can't have a workflow fire by default against an external list since the workflow engine won't see things changing in the backend system.
Now, workflow is pluggable in 2010 so you might be able to plug in your own event provider into our workflow engine and watch the backend yourself. I haven't tried to do that yet so I don't know if it's feasible but it's something to take a look at if you want automatic workflow start but definitely clicking a button on the ribbon on an external list and triggering a workflow is supported.
Rather than creating an external list, you may want to instead create a SharePoint list with external columns so you get more SharePoint native features.
Hope this helps.
Tom- Proposed As Answer by Michael Nemtsev [MVP] Saturday, October 24, 2009 11:21 PM
- Marked As Answer by Chakkaradeep ChandranMicrosoft Employee, Moderator Sunday, October 25, 2009 12:33 AM
All Replies
-
Saturday, October 24, 2009 12:22 PM
It is now, and will
The only issue now is to how write the "Application Model File" to be used as as source of External List :)
I can't find any information regarding this topic.
Just small introduction how it works.
1) To create the External List you need to add the Enterprise Entity as data source. But all Enterprice Entity are stored in the Catalog
2) Enterprise Entities are represented by Business Data Types in Catalog, so you need to create the BDT
3) Activate Business Data Catalog Service Application and link BDC to your Web Application
4) In properties on BD Catalog you need to import your "Application Model File" that contains external source description
The problem is I can't find the document describing the format of "applicaton model file" and how to create new one.
After you create the library, you just create the Workflow (I usually use Visio 2010) and there you can link you data source to the activity (in Visio go to "Data" tab and choose "Link Data To Shares" - > SharePoint List, and type the url to External List")
SharePoint Tips & Tricks Portal | Microsoft MVP | My Blog | My twitter- Proposed As Answer by Michael Nemtsev [MVP] Saturday, October 24, 2009 12:23 PM
- Unproposed As Answer by Chakkaradeep ChandranMicrosoft Employee, Moderator Saturday, October 24, 2009 9:05 PM
-
Saturday, October 24, 2009 9:05 PMModeratorHi Michael,
>>1) To create the External List you need to add the Enterprise Entity as data source. But all Enterprice Entity are stored in the Catalog
>>2) Enterprise Entities are represented by Business Data Types in Catalog, so you need to create the BDT
>>3) Activate Business Data Catalog Service Application and link BDC to your Web Application
>>4) In properties on BD Catalog you need to import your "Application Model File" that contains external source description
These steps are for exporting/importing BDC model, which is fine. I dont see anything associated with workflows here.
>>After you create the library, you just create the Workflow (I usually use Visio 2010) and there you can link you data source to the activity (in Visio go to "Data" tab and >>choose "Link Data To Shares" - > SharePoint List, and type the url to External List")
I tried this and when I type in the external list URL and click OK, I get this error:
The site exists and if you just type the site url (http://demo2010a) and click Next , it does give me the full list of SharePoint Lists in the site except the external lists.
Would be happy if you can explain the steps on how you associated a workflow to an external list.
Regards,
Chakkaradeep
SharePoint Developer - MCTS SharePoint Dev, WSS Dev
Intergen: http://www.intergen.co.nz
Twitter: http://twitter.com/chakkaradeep
Blog: http://www.chakkaradeep.com -
Saturday, October 24, 2009 10:58 PMModerator
You can associate a workflow as a custom action for your External List in SPD. You probably (and I'll have to double check but I'm 99% sure) can't have a workflow fire by default against an external list since the workflow engine won't see things changing in the backend system.
Now, workflow is pluggable in 2010 so you might be able to plug in your own event provider into our workflow engine and watch the backend yourself. I haven't tried to do that yet so I don't know if it's feasible but it's something to take a look at if you want automatic workflow start but definitely clicking a button on the ribbon on an external list and triggering a workflow is supported.
Rather than creating an external list, you may want to instead create a SharePoint list with external columns so you get more SharePoint native features.
Hope this helps.
Tom- Proposed As Answer by Michael Nemtsev [MVP] Saturday, October 24, 2009 11:21 PM
- Marked As Answer by Chakkaradeep ChandranMicrosoft Employee, Moderator Sunday, October 25, 2009 12:33 AM
-
Sunday, October 25, 2009 8:31 AMModeratorThanks Tom :)
>>You can associate a workflow as a custom action for your External List in SPD
Can you provide more info on what kinda of workflows can be associated as custom actions? I have few reusable workflows & globally reusable workflows (and also list workflows), but when I create a new custom action and choose to associate a workflow, I dont get any workflows to choose from.
Regards,
Chakkaradeep
SharePoint Developer - MCTS SharePoint Dev, WSS Dev
Intergen: http://www.intergen.co.nz
Twitter: http://twitter.com/chakkaradeep
Blog: http://www.chakkaradeep.com -
Thursday, April 08, 2010 3:39 PMI am having the same problem... no workflows available to associate to a custom action on an external list. Tom, can you please elaborate? Thank you!
-
Friday, October 08, 2010 5:51 PM
Please Is there any exmaple to do this?
thanks.
-
Monday, October 11, 2010 7:53 AM
Moderator Edit: Frank, STOP advertising your products. Answer questions directly with your knowledge, not with your products.
- Edited by Clayton CobbMVP, Moderator Saturday, December 18, 2010 5:54 PM Blatant spammer
-
Monday, May 23, 2011 2:29 AM
Tom,
I have to same problem. Is there an example how to associate a workflow as custome action for external list. My list is also empty.
Thanks.

