- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2018 11:34 AM
Hi guys, there's a way to start a workflow from a portal widget?
In particular, I'm using a custom button and a workflow should start when the button is pressed.
Thanks, Giovanni
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2018 02:40 AM
Yes it should be possible.
1. Create script include and trigger workflow using startFlow method.
https://docs.servicenow.com/bundle/kingston-application-development/page/app-store/dev_portal/API_reference/Workflow/concept/c_Workflow_api.html
2. Call script include using GlideAjax from client controller or directly call the script include from server code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2018 02:40 AM
Yes it should be possible.
1. Create script include and trigger workflow using startFlow method.
https://docs.servicenow.com/bundle/kingston-application-development/page/app-store/dev_portal/API_reference/Workflow/concept/c_Workflow_api.html
2. Call script include using GlideAjax from client controller or directly call the script include from server code.