How to create task from custom mediator in WSO2? - wso2

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

Related

Creating Dynamically Cron jobs at particular intervals

Looking for dynamically creating cron jobs that gets created and configured using the request parameters send by the Cloud Functions or normal HTTP request.
There is already manual way by visiting the Google Cloud console but I actually make this manual task by configuring and creating jobs according to request parameters.
I am already aware that we can provide a cron.yaml file that can have all the configuration but I need some help or any reference that contains detail way to achieve this.
I am also beginner so indeed correct me or provide any alternate solution.
You'll want to use the Cloud Scheduler API. Specifically, this is a REST API that lets you do everything you could do via the console or the gcloud command.

Windows Task Scheduler - existing task modification c++

How to modify programmatically existing scheduled task with API 2.0?
For example to add a trigger or an action.
Thanks.

schadule task in DSS 3.5 for DSS project box car

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.

Can't create scheduled task in WSO2 DSS 3.5.0

I'm trying to create a scheduled task in DSS 3.5.0 but the UI seems broken. After choosing "Data service name" a list of operations loads and on this list only one operation shows up and after that, a bunch of... license agreements?
Does anybody know any workaround? Maybe there is a way to create such task in eclipse project or to edit it via xml?
My error was that I wanted to choose an operation with an input parameter when schedule only handles non-parameter operations :)

Informatica jobs real time jobs from web-service

We have requirement to load the data from web-service into the target database using Informatica. The web-service will be initiated by the source application whenever there is a change in source side. From Informatica side, we have to trigger the loading job whenever we receive the web-service instead of scheduling/batch jobs.
Please let me know if you have any option to achieve this using power exchange.
You could make use of HTTP transformation to load the data from web-service.
There is a demo on this in Informatica marketplace. Download the file there to get the complete implementation steps - https://marketplace.informatica.com/solutions/mapping_web_service_using_http_transformation
And with respect to triggering the work flows adhoc, may be you can make use of file watchers. Whenever there is a web service request, you can arrange to have a file transferred to your source location that indicates a new request. I am not sure if this is possible in your case. It would be great if you could provide more details. However, there is another demo here explaining implementation of file wather to auto trigger your workflows that could help -
https://marketplace.informatica.com/solutions/mapping_email_on_non_occurrence_of_event