Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Workflow triggers

Every workflow trigger point: the content, shop and user operations and their before and after triggers.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/workflow-events/triggers.md

Workflow triggers

The points where a workflow can run: each operation of kernel/content/operation_definition.php, kernel/shop/operation_definition.php, kernel/user/operation_definition.php and its pre_ (before) and post_ (after) triggers. Connect a workflow at Setup > Triggers; the operation's parameters are what its events receive.

ModuleOperationTriggerWhenParameters
contentaddlocationpre_addlocationbeforenode_id, object_id, select_node_id_array
contentaddlocationpost_addlocationafternode_id, object_id, select_node_id_array
contentcreatenodefeedpre_createnodefeedbeforenode_id
contentcreatenodefeedpost_createnodefeedafternode_id
contentdeletepre_deletebeforenode_id_list, move_to_trash
contentdeletepost_deleteafternode_id_list, move_to_trash
contenthidepre_hidebeforenode_id
contenthidepost_hideafternode_id
contentmovepre_movebeforenode_id, object_id, new_parent_node_id
contentmovepost_moveafternode_id, object_id, new_parent_node_id
contentpublishpre_publishbeforeobject_id, version, notify
contentpublishpost_publishafterobject_id, version, notify
contentreadpre_readbeforenode_id, user_id, language_code
contentreadpost_readafternode_id, user_id, language_code
contentremovelocationpre_removelocationbeforenode_list
contentremovelocationpost_removelocationafternode_list
contentremovenodefeedpre_removenodefeedbeforenode_id
contentremovenodefeedpost_removenodefeedafternode_id
contentremovetranslationpre_removetranslationbeforeobject_id, language_id_list, node_id
contentremovetranslationpost_removetranslationafterobject_id, language_id_list, node_id
contentsortpre_sortbeforenode_id, sorting_field, sorting_order
contentsortpost_sortafternode_id, sorting_field, sorting_order
contentswappre_swapbeforenode_id, selected_node_id, node_id_list
contentswappost_swapafternode_id, selected_node_id, node_id_list
contenttranslationavailablepre_translationavailablebeforeobject_id, status
contenttranslationavailablepost_translationavailableafterobject_id, status
contentupdatealwaysavailablepre_updatealwaysavailablebeforeobject_id, new_always_available, node_id
contentupdatealwaysavailablepost_updateAlwaysAvailableafterobject_id, new_always_available, node_id
contentupdateinitiallanguagepre_updateinitiallanguagebeforeobject_id, new_initial_language_id, node_id
contentupdateinitiallanguagepost_updateinitiallanguageafterobject_id, new_initial_language_id, node_id
contentupdatemainassignmentpre_updatemainassignmentbeforemain_assignment_id, object_id, main_assignment_parent_id
contentupdatemainassignmentpost_updatemainassignmentaftermain_assignment_id, object_id, main_assignment_parent_id
contentupdateobjectstatepre_updateobjectstatebeforeobject_id, state_id_list
contentupdateobjectstatepost_updateobjectstateafterobject_id, state_id_list
contentupdateprioritypre_updateprioritybeforenode_id, priority, priority_id
contentupdateprioritypost_updatepriorityafternode_id, priority, priority_id
contentupdatesectionpre_updatesectionbeforenode_id, selected_section_id, update_search_indexes, scope, old_section_id, check_access
contentupdatesectionpost_updatesectionafternode_id, selected_section_id, update_search_indexes, scope, old_section_id, check_access
shopaddtobasketpre_addtobasketbeforeobject_id, option_list, quantity, basket_id
shopaddtobasketpost_addtobasketafterobject_id, option_list, quantity, basket_id
shopcheckoutpre_checkoutbeforeorder_id
shopcheckoutpost_checkoutafterorder_id
shopconfirmorderpre_confirmorderbeforeorder_id
shopupdatebasketpre_updatebasketbeforeitem_count_list, item_id_list
shopupdatebasketpost_updatebasketafteritem_count_list, item_id_list
useractivationpre_activationbeforeuser_id, user_hash, is_enabled
useractivationpost_activationafteruser_id, user_hash, is_enabled
userforgotpasswordpre_forgotpasswordbeforeuser_id, password_hash, time
userforgotpasswordpost_forgotpasswordafteruser_id, password_hash, time
userpasswordpre_passwordbeforeuser_id, new_password
userpasswordpost_passwordafteruser_id, new_password
userpreferencespre_preferencesbeforekey, value
userpreferencespost_preferencesafterkey, value
userregisterpre_registerbeforeuser_id
userregisterpost_registerafteruser_id
usersetsettingspre_setsettingsbeforeuser_id, is_enabled, max_login
usersetsettingspost_setsettingsafteruser_id, is_enabled, max_login

Generated by ./console exp:help:examples from kernel/content/operation_definition.php, kernel/shop/operation_definition.php, kernel/user/operation_definition.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x