โ12-21-2023 11:01 PM
I do not want a specific recipe function to be called from all the existing recipe where ever it is used.
It will be difficult task to check the dependency of the recipe function and change the code in the all the recipe.
If I just put a stop inside the recipe function, it will not be used anymore. But as the recipe function is called, it will consume a single task.
Is there possible way, we can force the recipe function to be skipped in all the places where ever it is used?
Thank you.
Solved! Go to Solution.
โ12-21-2023 11:31 PM
You know each recipe has a dependency graph, right? This graph should give you a hit list of all of the calling recipes you would need to update. Not sure how many dependent recipes you have, but unless it's in the hundreds it shouldn't take that long.
If the dependent recipes are calling it asynchronously, then all you have to do is skip the call. If they call it synchronously and are expecting a response, then yeah it might take a little elbow grease to make all of the updates.
Either you do the work, or add the stop and eat the task : )
โ12-21-2023 11:31 PM
You know each recipe has a dependency graph, right? This graph should give you a hit list of all of the calling recipes you would need to update. Not sure how many dependent recipes you have, but unless it's in the hundreds it shouldn't take that long.
If the dependent recipes are calling it asynchronously, then all you have to do is skip the call. If they call it synchronously and are expecting a response, then yeah it might take a little elbow grease to make all of the updates.
Either you do the work, or add the stop and eat the task : )
โ12-26-2023 11:28 PM
Are you calling the Child Recipe - Synchronous or Asynchronous ?
โ12-27-2023 08:42 AM
It is getting called in both ways.