I have multiple workflows attached to a Library.
May I know what is the link to each workflow so that I can create a javascript button that will popup a window displaying the specific workflow?
The reason for asking is because suppose I have a website called teamsites.mysite.com/collections/subsite.
There is a workflow called RemindFBUsersAdhoc that allow user to manual start the workflow.
Therefore, the link will look something like the following:
http://teamsites.mysite.com/collections/subsite/Workflows/RemindFBUsersAdhoc/RemindFBUsersAdhoc.aspx?List={LIST_Number}&ID={ID_Number}&TemplateID={WORKFLOW_Number}&Source=http%3A%2F%2Fteamsites%2Emysite%2Ecom%2Fcollections%2Fsubsite%2FForm%5FFBUsers%5FAdhoc%2FForms%2FAllItems%2Easpx
However, the problem is that everytime, I change my workflow RemindFBUsersAdhoc and publish again, the TemplateID will change. Then I will need to change my code again to set it to the correct Template ID, which I believe is the workflow ID for RemindFBUsersAdhoc.
The rest of the parameter did not give me much problem.
I was just wondering if the link that I used is correctly and I hope to remove such dynamic parameter like the TemplateID. So, are there really such link structure?