How to modify programmatically existing scheduled task with API 2.0?
For example to add a trigger or an action.
Thanks.
Related
how to call cloud workflows sequentially?
I don't want to start workflow when another (same) workflow is processing.
You have a couple of options:
create a primary top level worklow that calls all the other workflows using the googleapis.workflowexecutions.v1.projects.locations.workflows.executions.create action as steps
literally this means you have 1 main workflow with many steps, each trigger one workflow after the other using the above call statement. Steps are executed sequentially.
Leverage Firestore API to write a flag to a collection that controls whether a workflow is in progress, and if another workflow starts check the flag and stop.
Is there a way to move workflows from one version to another in AWS SWF ? Some workflows are waiting to be triggered. The timer has already started. I'm looking to seamlessly move them to new version of the workflow.
There is no such feature in SWF. Workflow once started maintains the same version until closed. ContinueAsNew allows overriding the version, so it is possible to "update" a workflow by calling ContinueAsNew.
BTW: Cadence (open source version of SWF) supports inline versioning of the workflow code which allows changes to already running workflows.
I am working and AWS SWF and wanted to create a workflow such than I can pass an ID during starting of execution and be able to access that in my decider and activity worker.
I am not able to find any documentation related to that.
I am implementing workers and deciders in python using BOTO library.
You actually cannot create a workflow execution without specifying a workflowId according to the documentation of start_workflow_execution method.
I created a Data service project and enabled Boxcar for running 5 queries sequentially.
after deploying service, I need to use schedule task for running it every 5 minutes. in schedule task, I selected _request_box operation(It was created by DSS boxcar) but it doesn't work. how can i use task schedule with boxcarring?
Thank you
When a task is scheduled the operation should be a parameter-less operation. As request_box consists of several other operations, this scenario will not work as a normal operation. I have added a JIRA to report this scenario and you can track the progress from there.
Is there any way to create scheduled task from WSO2 custom mediator? In my case, I want to create a task every time I called the custom mediator. And also I want the task to run in a specific time. Can I do this using the custom mediator? please help me :)
Tasks are independent..when server starts up they start to execute in the configured pattern..
// I want to create a task every time I called the custom mediator//
What is the usecase here? I think , you can have task logic inside your custom mediator