Skip to content

Recipe List Requested#

1562162530501

This task implements Recipe List Requests from the MES system.

1562162565533

Inputs#

Name Data Type Description
recipeList Object List of Recipes to be sent to the MES (this is the reply) and it is expected to send an array with the names of the recipes.
Activate Any Activate the task

Outputs#

Name Data Type Description
onRecipeRequest Object Emits true when the MES sends a request for the recipe list
Success Boolean Triggered when the task is executed with success
Error Error Triggered when the task failed for some reason

Settings#

On the General tab, you have the usual settings and the following settings:

Name Data Type Values Default Description
AutoActivate Boolean true Auto activates the event listeners for the subject.
Reply Timeout Integer 60000 Timeout between receiving a request from the MES for the recipe list and replying with the recipe list
Recipe List Requested String RecipeManagement.GetAllRecipes Subject used to communicate with the MES

1562163197131

Behavior#

This task is responsible for receiving an MES request for the recipe list, via message bus and replying with a recipe list.

Remarks#

This task uses a specific structure of context-based data called zone. More information on this topic can be read in the Zones page.