How to automatically run a manual approval at 3h00am if not previously runned

Follow

Comments

1 comment

  • Avatar
    Anush Ramani

    Hi frank,


    Go does not support timer triggers at the stage level, so your "complicated" solution in fact would be the way to go.


    In terms of figuring out the last stage that ran, you can use the stages feed that Go exposes:


    /go/api/pipelines/[pipeline_name]/stages.xml

    From this feed, you can figure out the last run stage for that pipeline and based on that, you can choose to trigger the stage or not.

Please sign in to leave a comment.