Best Practices for modifying a Flow Designer Spoke?

Joshua Morriset
Giga Contributor

I have a use case where I need to get the queueID from a 'perform_build' action on the Jenkins Spoke. The reason behind this is, without it, I don't have a great way to ensure that the build I just submitted is going to be the one that I'm tracking throughout the rest of the flow (if more than one flow is running in tandem, I cannot just grab the last built job of the pipeline.

I need to make this change. I feel as though I can do this by modifying the Jenkins spoke, but I would like to know the recommended process. Is there somewhere I can go (I'm creating a similar HI ticket for this now) to request this enhancement?

If there isn't a specific place to request enhancements on spokes, what is the recommended process for editing a spoke action? Do I create a new custom spoke and then 'copy' the action over to it, and modify? Do I just navigate to that application in the application picker and edit away with no concerns? Will I need to make this change again every time the spoke gets updated/installed?

Thanks in advance for the help!

Best Regards,

Josh

1 ACCEPTED SOLUTION

In this case, copy it into the same spoke you're modifying - the Jenkins spoke. 

We're working on a better system for accepting feedback requests for Spokes - stay tuned. In the mean time, I've passed this thread to the Spoke dev team and I'll post an update here when I learn more. 

View solution in original post

7 REPLIES 7

josh_nerius
ServiceNow Employee
ServiceNow Employee

Hi Joshua, 

The recommendation is to copy the action into the same scope and make the changes you need to the copy. This way, the action can reuse the connections/authentication, and you can find it alongside other actions in the same spoke when browsing the action picker. 

Depending on the customization, you may want to name the new action something that reflects the new behavior, e.g. Perform Build and Get Queue ID. 

I've passed the feedback regarding Queue ID back to our Spoke dev team for consideration in a future update. 

Best,
Josh

Thank you, Josh!

 

Is there a way for me to track the request to the Spoke team to keep up-to-date on the consideration? Is there an avenue I can take to initiate this feedback to the Spoke dev team, or is the proper way to open a HI ticket/Community post.

 

Thank you for the prompt assistance and passing the feedback along!

 

Best Regards,

Joshua

Also, when you say 'same spoke' are you referring to the spoke I need to modify (in this case the Jenkins Spoke) or the custom spoke I was planning on creating?

 

Again, thanks for the assistance.

 

Best Regards,

Joshua

In this case, copy it into the same spoke you're modifying - the Jenkins spoke. 

We're working on a better system for accepting feedback requests for Spokes - stay tuned. In the mean time, I've passed this thread to the Spoke dev team and I'll post an update here when I learn more.