Skip to content

Conversation

@maheshkhatal27
Copy link
Contributor

This update introduces a flexible flow action that enables users to trigger any scheduled job on demand by simply specifying the job name as input.

Additionally, an error-handling step has been implemented to capture and return a clear execution status (Executed or Failed).
If the job name is invalid or an unexpected error occurs during execution, the flow safely returns a "Failed" status instead of throwing runtime errors, ensuring a smooth user experience.

This flow action is lightweight, reusable, and highly practical for automation scenarios, testing purposes, or triggering jobs on the fly without navigating to the Scheduled Jobs module.

@github-actions
Copy link

Valid PR for ActionPack

Thank you for your contribution. This PR complies with the CONTRIBUTING.md.
A maintainer will review this shortly. In the meantime, Happy Hacking!

@SapphicFire SapphicFire self-assigned this Oct 16, 2025
Copy link
Contributor

@SapphicFire SapphicFire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I appreciate the handling for Global, though we are unlikely to see that scope in execution from this pack

@SapphicFire SapphicFire merged commit c952bc9 into ServiceNowDevProgram:main Oct 17, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants