A new Javascript library is been added to Codeplex by Liger.
Calling Workflow made easy by calling few lines of code than writing bunch of code.
Process.callWorkflow("4AB26754-3F2F-4B1D-9EC7-F8932331567A", Xrm.Page.data.entity.getId(), function () { alert("Workflow executed successfully"); }, function () { alert("Error executing workflow"); });
Download the Library and include then call workflow simply with few lines of code.
For more information: https://processjs.codeplex.com/
Happy Coding!!!
Sreeni Pavalla