Arianeb
Scholar

Javascript link to cancel request while status In progress and end all workflows

HI:

 

I've seen a similar post of yours before but I can't find it. nay help would be greatly appreacited.

I'm trying to add a JS Cancel link/button to my form where user can click  it to cancel the request and end all workflows.

I uploaded  a JS file to Site assets and pasted  link in to Advanced- Custom JS (Cancel workflow attached)

Created a Javascript link on the form and the workflow named Cancel workflow

getting an error when clickng on the link, just can't figure out why it isn't working.error.JPGworkflow settings.JPGworkflow.JPGcontrol settings.JPGCancel workflowJS.JPG

 

0 Kudos
Reply
1 Reply
emha
Collaborator

Re: Javascript link to cancel request while status In progress and end all workflows

what error is reported on console?

that could give you a clue why workflow cannot be started...

0 Kudos
Reply