I have created a site workflow, now I need to trigger this manually when a button in Content Editor Web Part(CEWP) is clicked. How can I trigger it from a CEWP? Thanks.
I didnt find easy way of triggering site workflow from CEWP(using javascript) so i made a custom list to get updated with required parameter on click of the CEWP button( http://ishaalan.wordpress.com/2010/05/23/adding-an-item-to-a-sharepoint-list-using-javascript/ ). And made list worflow associate with that list to get triggered when a new item was added.It solved my problem.Thanks @dotsa for reply.