hi,
I have visual studio sequential workflow which starts manually, In a list form i have a "Save and Start workflow" button. so my workflow should start when i click on the button.
<input type="button" value="Save & Start workflow" name="btnFormAction0" onclick="javascript: {ddwrt:GenFireServerEvent(concat('__commit;__workflowStart={{2178C6A0-855B-4710-80EC-C8798EC49B3F},New,{20f00007-1f68-431b-8737-a3c94acc0da0},ItemID=',/dsQueryResponse/Rows/Row/@ID,'};__redirect={../default.aspx}'))}"
/>
So now when i click on button, the workflow should start. but for some reason it is creating a new item in the list. Any thoughts on why it is doing that.