$object = "workflow";
require('setup_'.$object.'_header.php');
?>
change_status::change($object,$object);
common_main_header::get_header();
$master_id = $_GET['id'];
$context = array(
"status" => $status,
"master_id" => $master_id
);
$context['list_config'] = array(
"method" => $_GET['method'],
"link_view" => "setup_".$object."_details",
"link_edit" => "setup_".$object."_edit",
"show_search" => true,
"show_pagination" => false,
"sortable" => true
);
$context['columns']["description"] = array("title" => "Description");
$context['columns']["table"] = array("title" => "Type");
$context['columns']["stage"] = array("title" => "Stage");
$context['columns']["yes_dir"] = array("title" => "Yes Forward");
$context['columns']["no_dir"] = array("title" => "No Forward");
$context['columns']["task_yes"] = array("title" => "Tasks Triggered by YES");
$context['columns']["task_no"] = array("title" => "Tasks Triggered by No");
$obj = new list_workflow_display_human($context);
$obj->get_data()->build_table_list();
?>