The decision recipe for comparing position duration has three inputs:
- More than / less than / exactly
This decision recipe allows you to reference an open position’s duration from entry. The recipe monitors the position while it is open.
Because the comparing position duration decision recipe uses information from an existing position inside a bot, it is typically used in monitor automations and after a repeater action.
The first field prompts you to choose an existing open position inside the bot. Each existing position in the bot will be linked, and this field will pull in the necessary data from the position.
The second field has you choose if the position has been open more than, less than, or exactly a specific amount of time. The third field prompts you to choose the number of days from a dropdown menu. When you have finished creating the recipe, select “Save.”
NOTE: You can also create a custom input for the number of days, which allows you to input the field later to make the decision recipe dynamic across all automations.
The decision will be added to the list of criteria. You have the option to add more decisions to the recipe or return to the automation editor. When finished, select “Save” again to return to the automation editor.
The automation editor will display your completed decision criteria for comparing position duration.
You can always select the decision inside the automation editor and make changes to the criteria.