ESP Workload Automation

 View Only

 Advantages of defining Tasks and Links

vinothini G's profile image
vinothini G posted Mar 24, 2024 01:35 PM

Hi Team,

We do have Define Tasks and Use Links in our ESP.
How defining Tasks and Links  brings difference in defining our application jobs?

Thanks,
Vinothini

Chris_Elvin's profile image
Broadcom Employee Chris_Elvin

For many situations a LINK and a SELFCOMPLETING TASK can be considered identical.  Where a TASK can hold advantages is that without the SELFCOMPLETING directive, the task will execute any CLANG code within it once it is eligible to run, but will not complete until manually (or programatically) completed.  This can be useful when trying to reserve resources/enqueues across multiple jobs.

My own preference is to use LINK jobs along with RELCOUNT when joining together workflows that require boolean OR condition and use TASK jobs for everything else