Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


sbandy
2013-11-25T04:39:59Z
I need to configure dependencies between job/task on another job/task.

Examples of dependencies I need to configure are:


1) Task 5 in Job A is dependent on Task 4 in Job B

(Task 5 in Job A will wait till Task 4 in Job B has completed successfully. This involves setting up polling at Task level)

I tried adding Condition of Type VisualCron/Variable, but the condition gets evaluated ONLY once. I would like Task 9 in Job A to keep polling at regular intervals for successful completion of Task 4 in Job B.
How can I achieve this?

2) Task 5 in Job A is dependent on Task 2 in Job A (i.e. not dependent on its immediate processor)
Can I use Condition to configure this?

3) Task 5 in Job A is dependent on multiple tasks within Job A
Can I use Condition to configure this?

4) Task 5 in Job A is dependent on multiple tasks outside Job A
Similar to use case (1) but polling involves multiple tasks. How can I achieve this?

5) Job B is dependent on Job A or multiple jobs, e.g. Job A and Job C
Again, this involves polling one or more jobs for completion before starting Job A.

Can I use Trigger to achieve this?
Sponsor
Forum information
Support
2013-11-25T13:16:50Z
Originally Posted by: sbandy 

I need to configure dependencies between job/task on another job/task.

Examples of dependencies I need to configure are:


1) Task 5 in Job A is dependent on Task 4 in Job B

(Task 5 in Job A will wait till Task 4 in Job B has completed successfully. This involves setting up polling at Task level)

I tried adding Condition of Type VisualCron/Variable, but the condition gets evaluated ONLY once. I would like Task 9 in Job A to keep polling at regular intervals for successful completion of Task 4 in Job B.
How can I achieve this?

2) Task 5 in Job A is dependent on Task 2 in Job A (i.e. not dependent on its immediate processor)
Can I use Condition to configure this?

3) Task 5 in Job A is dependent on multiple tasks within Job A
Can I use Condition to configure this?

4) Task 5 in Job A is dependent on multiple tasks outside Job A
Similar to use case (1) but polling involves multiple tasks. How can I achieve this?

5) Job B is dependent on Job A or multiple jobs, e.g. Job A and Job C
Again, this involves polling one or more jobs for completion before starting Job A.

Can I use Trigger to achieve this?



You should use the Job/Task Control Task and add it after Task 5 in Job A.

There is no specific polling available else than the Job Trigger.

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
sbandy
2013-11-25T16:45:13Z
Henrik,

Job A and Job B starts at the same time. The 1st use case requirement is - Task 5 of Job A should wait for Task 4 in Job B to finish before resuming.

You suggested "You should use the Job/Task Control Task and add it after Task 5 in Job A."

Are you referring to this use case? If yes, can you explain how this will work?

Is there a plan to add the Trigger at the Task level so we can get the Polling functionality? Is there any other way to achieve "evaluation of a condition for a task and retrying for a task in another Job to be completed"?

Thanks.
Support
2013-11-25T19:25:10Z
Originally Posted by: sbandy 

Henrik,

Job A and Job B starts at the same time. The 1st use case requirement is - Task 5 of Job A should wait for Task 4 in Job B to finish before resuming.

You suggested "You should use the Job/Task Control Task and add it after Task 5 in Job A."

Are you referring to this use case? If yes, can you explain how this will work?

Is there a plan to add the Trigger at the Task level so we can get the Polling functionality? Is there any other way to achieve "evaluation of a condition for a task and retrying for a task in another Job to be completed"?

Thanks.



If the Tasks are dependent and start at the same time I would consider to put them in same Job instead. My previous advice is just if you want to start a Job from another Task.

We will consider to also add the ability to Trigger on Task completion the same way Job completion Trigger exists.

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top