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.
The script dynamically determines the correct execution method based on the application scope — using SncTriggerSynchronizer.executeNow() in the global scope and gs.executeNow() otherwise.

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!

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.

1 participant