- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 03:04 AM
Hi all,
I´m very much a newbie on the ServiceNow platform, so I hope the terminology of my question is correct.
I have a spoke action that I created using Flow Designer, which takes an input parameter, runs a REST API call, and returns a parameter with the response of that call.
Is there a way to call this action from a script include, or can it only be used in flows? Ideally I´d love to be able to do something like:
returnvalue = SpokeAction(input)
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 05:46 AM
Hi there,
Have a look at this page, contains several examples and explanation. Based on your question, I think you can use startAction.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 05:25 AM
are you saying it's a custom flow action?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 05:46 AM
Hi there,
Have a look at this page, contains several examples and explanation. Based on your question, I think you can use startAction.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 06:08 AM
Fantastic! Looks exactly like what we're trying to accomplish here. Will give it a try! Thanks a lot!