def send_event_task(message): _send_event(instance, 'workflow_node', 'a4c_persistent_event', message, None, None, None)
def send_wf_event_task(): _send_event(instance, 'workflow_node', 'a4c_workflow_event', event_msg, None, None, None)
def send_wf_step_rel_event(): _send_event(rel_instance.node_instance, 'workflow_node', 'a4c_workflow_rel_step_event', event_msg, None, None, None)
def send_event_task(): _send_event(instance, 'workflow_node', 'a4c_persistent_event', persist_msg, None, None, None)