Skip to content

Latest commit

 

History

History

delete-draft-orders-older-than-30-days

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Delete draft orders older than 30 days

Tags: Delete, Draft Orders, Schedule

Keep your draft order list tidy - use this task to automatically delete orders that are older than a configurable number of days.

Default options

{
  "days_to_wait_before_deleting_a_draft_order__number_required": "30",
  "test_mode__boolean": true,
  "run_daily__boolean": null
}

Learn about task options in Mechanic

Subscriptions

mechanic/user/trigger
{% if options.run_daily__boolean %}mechanic/scheduler/daily{% endif %}

Learn about event subscriptions in Mechanic

Documentation

Keep your draft order list tidy - use this task to automatically delete orders that are older than a configurable number of days.

Installing this task

Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.

Contributions

Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.

Task requests

Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!