Merge remote-tracking branch 'origin/feature/HOR-3274' into feature/HOR-3559

This commit is contained in:
davidcallizaya
2017-08-10 21:38:58 -04:00
44 changed files with 60980 additions and 710 deletions

199
tests/WorkflowTestCase.php Normal file
View File

@@ -0,0 +1,199 @@
<?php
use ProcessMaker\Importer\XmlImporter;
use PHPUnit\Framework\TestCase;
/**
* Test case that could instance a workspace DB
*
*/
class WorkflowTestCase extends TestCase
{
/**
* Create and install the database.
*/
protected function setupDB()
{
//Install Database
$pdo0 = new PDO("mysql:host=".DB_HOST, DB_USER, DB_PASS);
$pdo0->query('DROP DATABASE IF EXISTS '.DB_NAME);
$pdo0->query('CREATE DATABASE '.DB_NAME);
$pdo = new PDO("mysql:host=".DB_HOST.";dbname=".DB_NAME, DB_USER,
DB_PASS);
$pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, 0);
$pdo->exec(file_get_contents(PATH_CORE.'data/mysql/schema.sql'));
$pdo->exec(file_get_contents(PATH_RBAC_CORE.'data/mysql/schema.sql'));
$pdo->exec(file_get_contents(PATH_CORE.'data/mysql/insert.sql'));
$pdo->exec(file_get_contents(PATH_RBAC_CORE.'data/mysql/insert.sql'));
$pdo->exec("INSERT INTO `APP_SEQUENCE` (`ID`) VALUES ('1')");
$pdo->exec("INSERT INTO `OAUTH_CLIENTS` (`CLIENT_ID`, `CLIENT_SECRET`, `CLIENT_NAME`, `CLIENT_DESCRIPTION`, `CLIENT_WEBSITE`, `REDIRECT_URI`, `USR_UID`) VALUES
('x-pm-local-client', '179ad45c6ce2cb97cf1029e212046e81', 'PM Web Designer', 'ProcessMaker Web Designer App', 'www.processmaker.com', 'http://".$_SERVER["HTTP_HOST"].":".$_SERVER['SERVER_PORT']."/sys".SYS_SYS."/en/neoclassic/oauth2/grant', '00000000000000000000000000000001');");
$pdo->exec("INSERT INTO `OAUTH_ACCESS_TOKENS` (`ACCESS_TOKEN`, `CLIENT_ID`, `USER_ID`, `EXPIRES`, `SCOPE`) VALUES
('39704d17049f5aef45e884e7b769989269502f83', 'x-pm-local-client', '00000000000000000000000000000001', '2017-06-15 17:55:19', 'view_processes edit_processes *');");
}
/**
* Drop the database.
*/
protected function dropDB()
{
//Install Database
$pdo0 = new PDO("mysql:host=".DB_HOST, DB_USER, DB_PASS);
$pdo0->query('DROP DATABASE IF EXISTS '.DB_NAME);
}
/**
* Import a process to the database.
*
* @param type $filename ProcessMaker file to be imported
* @return string PRO_UID
*/
protected function import($filename, $regenerateUids = false)
{
$importer = new XmlImporter();
$importer->setSourceFile($filename);
return $importer->import(
$regenerateUids ? XmlImporter::IMPORT_OPTION_KEEP_WITHOUT_CHANGING_AND_CREATE_NEW : XmlImporter::IMPORT_OPTION_CREATE_NEW,
XmlImporter::GROUP_IMPORT_OPTION_CREATE_NEW, $regenerateUids
);
}
/**
* Rebuild workflow's schema.sql
*/
protected function rebuildModel()
{
$pwd = getcwd();
chdir(PATH_CORE);
exec('../../gulliver/bin/gulliver propel-build-sql mysql');
exec('../../gulliver/bin/gulliver propel-build-model');
chdir($pwd);
}
/**
* Clean the shared folder to only have the sites.
*/
protected function cleanShared()
{
$this->rrmdir(PATH_DATA.'skins');
mkdir(PATH_DATA.'skins');
clearstatcache();
}
/**
* Set the text of and specific translated message.
*
* @global array $translation
* @param type $msgId
* @param type $text
*/
protected function setTranslation($msgId, $text)
{
global $translation;
$translation[$msgId] = $text;
}
/**
* Clear all the translated messages loaded.
*
* @global array $translation
*/
protected function clearTranslations()
{
global $translation;
foreach ($translation as $msgId => $text) {
unset($translation[$msgId]);
}
}
private function rrmdir($dir)
{
if (!is_dir($dir)) {
return;
}
$files = array_diff(scandir($dir), array('.', '..'));
foreach ($files as $file) {
(is_dir("$dir/$file") && !is_link($dir)) ? $this->rrmdir("$dir/$file")
: unlink("$dir/$file");
}
return rmdir($dir);
}
/**
* Set specific env.ini configuration.
*
* @param type $param
* @param type $value
*/
protected function setEnvIni($param, $value)
{
$config = file_get_contents(PATH_CONFIG.'env.ini');
if (substr($config, -1, 1) !== "\n") {
$config.="\n";
}
$regexp = '/^\s*'.preg_quote($param).'\s*=\s*.*\n$/m';
if (preg_match($regexp, $config."\n")) {
if ($value === null) {
$config = preg_replace($regexp, "", $config);
} else {
$value1 = is_numeric($value) ? $value : json_encode($value, true);
$config = preg_replace($regexp, "$param = $value1\n", $config);
}
} elseif ($value !== null) {
$value1 = is_numeric($value) ? $value : json_encode($value, true);
$config.="$param = $value1\n";
}
file_put_contents(PATH_CONFIG.'env.ini', $config);
}
/**
* Unset specific env.ini configuration.
*
* @param type $param
*/
protected function unsetEnvIni($param)
{
$this->setEnvIni($param, null);
}
/**
* Installa an licese file.
*
* @param type $path
* @throws \Exception
*/
protected function installLicense($path)
{
$licenseFile = glob($path);
if (!$licenseFile) {
throw new \Exception('To continue please put a valid license at features/resources');
}
G::LoadClass('pmLicenseManager');
$licenseManager = new pmLicenseManager();
$licenseManager->installLicense($licenseFile[0]);
}
/**
* Add a PM configuration.
*
* @return \Configurations
*/
protected function config($config=[]){
$configGetStarted = new \Configuration;
$data = array_merge([
'OBJ_UID' => '',
'PRO_UID' => '',
'USR_UID' => '',
'APP_UID' => '',
], $config);
$configGetStarted->create($data);
}
protected function getBaseUrl($url)
{
return (\G::is_https() ? "https://" : "http://").
$GLOBALS["APP_HOST"].':'.$GLOBALS['SERVER_PORT']."/sys".SYS_SYS."/".
SYS_LANG."/".SYS_SKIN."/".$url;
}
}

View File

@@ -0,0 +1,98 @@
<?php
namespace ProcessMaker\BusinessModel;
/**
* Test the ProcessMaker\BusinessModel\Language class.
*/
class LanguageTest extends \WorkflowTestCase
{
/**
* @var Language
*/
protected $object;
private $translationEnv;
/**
* Sets up the unit tests.
*/
protected function setUp()
{
$this->setupDB();
$this->object = new Language;
$this->translationEnv = PATH_DATA."META-INF".PATH_SEP."translations.env";
file_exists($this->translationEnv) ? unlink($this->translationEnv) : false;
}
/**
* Tears down the unit tests.
*/
protected function tearDown()
{
$this->dropDB();
}
/**
* Test default languages
*
* @category HOR-3209:1
* @covers ProcessMaker\BusinessModel\Language::getLanguageList
*/
public function testGetLanguageList()
{
$list = $this->object->getLanguageList();
$this->assertCount(1, $list);
$this->assertEquals('en', $list[0]['LANG_ID']);
$this->assertEquals('English', $list[0]['LANG_NAME']);
}
/**
* Test installed languages
*
* @category HOR-3209:2
* @covers ProcessMaker\BusinessModel\Language::getLanguageList
*/
public function testGetLanguageListInstalled()
{
$this->installLanguage('es', __DIR__.'/processmaker.es.po');
$list = $this->object->getLanguageList();
$this->assertCount(2, $list);
$this->assertEquals('en', $list[0]['LANG_ID']);
$this->assertEquals('English', $list[0]['LANG_NAME']);
$this->assertEquals('es-ES', $list[1]['LANG_ID']);
$this->assertEquals('Spanish (Spain)', $list[1]['LANG_NAME']);
$this->uninstallLanguage('es', __DIR__.'/processmaker.es.po');
$list2 = $this->object->getLanguageList();
$this->assertCount(1, $list2);
}
/**
* Install a language to the system.
*
* @param type $lanId
* @param type $filename
*/
private function installLanguage($lanId, $filename)
{
copy($filename, PATH_CORE.'content/translations/'.basename($filename));
$language = \LanguagePeer::retrieveByPK($lanId);
$language->setLanEnabled(1);
$language->save();
file_exists($this->translationEnv) ? unlink($this->translationEnv) : false;
}
/**
* Uninstall a language from the system.
*
* @param type $lanId
* @param type $filename
*/
private function uninstallLanguage($lanId, $filename)
{
unlink(PATH_CORE.'content/translations/'.basename($filename));
$language = \LanguagePeer::retrieveByPK($lanId);
$language->setLanEnabled(0);
$language->save();
file_exists($this->translationEnv) ? unlink($this->translationEnv) : false;
}
}

View File

@@ -0,0 +1,77 @@
<?php
namespace ProcessMaker\BusinessModel;
/**
* Skins Tests
*/
class SkinsTest extends \WorkflowTestCase
{
/**
* @var Skins
*/
protected $object;
/**
* Sets up the unit test.
*/
protected function setUp()
{
$this->cleanShared();
$this->setupDB();
$this->object = new Skins;
}
/**
* Tears down the unit test.
*/
protected function tearDown()
{
$this->cleanShared();
$this->dropDB();
}
/**
* Get default skins and one custom global skin.
*
* @covers ProcessMaker\BusinessModel\Skins::getSkins
* @covers ProcessMaker\BusinessModel\Skins::createSkin
* @category HOR-3208:1
*/
public function testGetSkins()
{
$skins = $this->object->getSkins();
$this->assertCount(2, $skins);
$this->assertEquals($skins[0]['SKIN_FOLDER_ID'], 'classic');
$this->assertEquals($skins[1]['SKIN_FOLDER_ID'], 'neoclassic');
$this->object->createSkin('test', 'test');
$skins2 = $this->object->getSkins();
$this->assertCount(3, $skins2);
$this->assertEquals($skins2[2]['SKIN_FOLDER_ID'], 'test');
}
/**
* Get default skins, one custom global and one custom current workspace skin.
*
* @covers ProcessMaker\BusinessModel\Skins::getSkins
* @covers ProcessMaker\BusinessModel\Skins::createSkin
* @category HOR-3208:2
*/
public function testGetSkinsCurrentWorkspace()
{
$this->object->createSkin('test', 'test');
$this->object->createSkin(
'test2',
'test2',
'Second skin',
'ProcessMaker Team',
'current',
'neoclassic'
);
$skins = $this->object->getSkins();
$this->assertCount(4, $skins);
$this->assertEquals($skins[2]['SKIN_FOLDER_ID'], 'test');
$this->assertEquals($skins[3]['SKIN_FOLDER_ID'], 'test2');
$this->assertEquals($skins[3]['SKIN_WORKSPACE'], SYS_SYS);
}
}

View File

@@ -0,0 +1,970 @@
<?xml version="1.0" encoding="utf-8"?>
<ProcessMaker-Project version="3.0">
<metadata>
<meta key="vendor_version"><![CDATA[(Branch feature/HOR-3214)]]></meta>
<meta key="vendor_version_code">Michelangelo</meta>
<meta key="export_timestamp">1496335122</meta>
<meta key="export_datetime"><![CDATA[2017-06-01T16:38:42+00:00]]></meta>
<meta key="export_server_addr"><![CDATA[::1:8084]]></meta>
<meta key="export_server_os">Darwin</meta>
<meta key="export_server_php_version">50621</meta>
<meta key="export_version">4</meta>
<meta key="workspace">hor3207</meta>
<meta key="name">WebEntry2</meta>
<meta key="uid">56559353559303a3cc06e80025826369</meta>
</metadata>
<definition class="BPMN">
<table name="ACTIVITY">
<record>
<act_uid>16965000459303a4c2a3e43075058476</act_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<pro_uid>10245485859303a3ce163f0020070533</pro_uid>
<act_name>Task 1</act_name>
<act_type>TASK</act_type>
<act_is_for_compensation>0</act_is_for_compensation>
<act_start_quantity>1</act_start_quantity>
<act_completion_quantity>0</act_completion_quantity>
<act_task_type>EMPTY</act_task_type>
<act_implementation></act_implementation>
<act_instantiate>0</act_instantiate>
<act_script_type></act_script_type>
<act_script></act_script>
<act_loop_type>EMPTY</act_loop_type>
<act_test_before>0</act_test_before>
<act_loop_maximum>0</act_loop_maximum>
<act_loop_condition>0</act_loop_condition>
<act_loop_cardinality>0</act_loop_cardinality>
<act_loop_behavior>0</act_loop_behavior>
<act_is_adhoc>0</act_is_adhoc>
<act_is_collapsed>0</act_is_collapsed>
<act_completion_condition>0</act_completion_condition>
<act_ordering>0</act_ordering>
<act_cancel_remaining_instances>0</act_cancel_remaining_instances>
<act_protocol>0</act_protocol>
<act_method>0</act_method>
<act_is_global>0</act_is_global>
<act_referer>0</act_referer>
<act_default_flow>0</act_default_flow>
<act_master_diagram>0</act_master_diagram>
<bou_uid>23262040759303a4c2afa43054385721</bou_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>16965000459303a4c2a3e43075058476</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnActivity</bou_element_type>
<bou_x>255</bou_x>
<bou_y>79</bou_y>
<bou_width>150</bou_width>
<bou_height>75</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<act_uid>79146780259303a4c3c4224096542966</act_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<pro_uid>10245485859303a3ce163f0020070533</pro_uid>
<act_name>WEBENTRY</act_name>
<act_type>TASK</act_type>
<act_is_for_compensation>0</act_is_for_compensation>
<act_start_quantity>1</act_start_quantity>
<act_completion_quantity>0</act_completion_quantity>
<act_task_type>EMPTY</act_task_type>
<act_implementation></act_implementation>
<act_instantiate>0</act_instantiate>
<act_script_type></act_script_type>
<act_script></act_script>
<act_loop_type>EMPTY</act_loop_type>
<act_test_before>0</act_test_before>
<act_loop_maximum>0</act_loop_maximum>
<act_loop_condition>0</act_loop_condition>
<act_loop_cardinality>0</act_loop_cardinality>
<act_loop_behavior>0</act_loop_behavior>
<act_is_adhoc>0</act_is_adhoc>
<act_is_collapsed>0</act_is_collapsed>
<act_completion_condition>0</act_completion_condition>
<act_ordering>0</act_ordering>
<act_cancel_remaining_instances>0</act_cancel_remaining_instances>
<act_protocol>0</act_protocol>
<act_method>0</act_method>
<act_is_global>0</act_is_global>
<act_referer>0</act_referer>
<act_default_flow>0</act_default_flow>
<act_master_diagram>0</act_master_diagram>
<bou_uid>77250327259303a4c3cc125070295918</bou_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>79146780259303a4c3c4224096542966</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnActivity</bou_element_type>
<bou_x>100</bou_x>
<bou_y>206</bou_y>
<bou_width>150</bou_width>
<bou_height>75</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="ARTIFACT">
<record>
<art_uid>18366688859303c0a73a8d0090992063</art_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<pro_uid>10245485859303a3ce163f0020070533</pro_uid>
<art_type>TEXT_ANNOTATION</art_type>
<art_name><![CDATA[UPDATE BPMN_ACTIVITY SET ACT_UID=(SELECT TAS_UID FROM WEB_ENTRY) where ACT_NAME='WEBENTRY';]]></art_name>
<art_category_ref></art_category_ref>
<bou_uid>66326200359303c0a746ff6019098980</bou_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>18366688859303c0a73a8d0090992063</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnArtifact</bou_element_type>
<bou_x>100</bou_x>
<bou_y>359</bou_y>
<bou_width>633</bou_width>
<bou_height>45</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<art_uid>92334024059303bba6cd636030770915</art_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<pro_uid>10245485859303a3ce163f0020070533</pro_uid>
<art_type>TEXT_ANNOTATION</art_type>
<art_name><![CDATA[UPDATE BPMN_BOUND SET ELEMENT_UID=(SELECT TAS_UID FROM WEB_ENTRY) where ELEMENT_UID=(SELECT ACT_UID FROM BPMN_ACTIVITY WHERE ACT_NAME='WEBENTRY');]]></art_name>
<art_category_ref></art_category_ref>
<bou_uid>94266112859303bba6df059082224962</bou_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>92334024059303bba6cd636030770915</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnArtifact</bou_element_type>
<bou_x>100</bou_x>
<bou_y>288</bou_y>
<bou_width>639</bou_width>
<bou_height>69</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="BOUND">
<record>
<bou_uid>23262040759303a4c2afa43054385721</bou_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>16965000459303a4c2a3e43075058476</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnActivity</bou_element_type>
<bou_x>255</bou_x>
<bou_y>79</bou_y>
<bou_width>150</bou_width>
<bou_height>75</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>28502816559303b2aa999f4011952694</bou_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>55623600259303b2aa8c2b3006040225</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>508</bou_x>
<bou_y>100</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>37327513759303a4c48fb05001608425</bou_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>26331855259303a4c486358089637672</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>100</bou_x>
<bou_y>100</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>66326200359303c0a746ff6019098980</bou_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>18366688859303c0a73a8d0090992063</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnArtifact</bou_element_type>
<bou_x>100</bou_x>
<bou_y>359</bou_y>
<bou_width>633</bou_width>
<bou_height>45</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>77250327259303a4c3cc125070295918</bou_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>79146780259303a4c3c4224096542966</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnActivity</bou_element_type>
<bou_x>100</bou_x>
<bou_y>206</bou_y>
<bou_width>150</bou_width>
<bou_height>75</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>94266112859303bba6df059082224962</bou_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>92334024059303bba6cd636030770915</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnArtifact</bou_element_type>
<bou_x>100</bou_x>
<bou_y>288</bou_y>
<bou_width>639</bou_width>
<bou_height>69</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="DATA"/>
<table name="DIAGRAM">
<record>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_name>WebEntry2</dia_name>
<dia_is_closable>0</dia_is_closable>
</record>
</table>
<table name="DOCUMENTATION"/>
<table name="EVENT">
<record>
<evn_uid>55623600259303b2aa8c2b3006040225</evn_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<pro_uid>10245485859303a3ce163f0020070533</pro_uid>
<evn_name></evn_name>
<evn_type>END</evn_type>
<evn_marker>EMPTY</evn_marker>
<evn_is_interrupting>1</evn_is_interrupting>
<evn_attached_to></evn_attached_to>
<evn_cancel_activity>0</evn_cancel_activity>
<evn_activity_ref></evn_activity_ref>
<evn_wait_for_completion>0</evn_wait_for_completion>
<evn_error_name></evn_error_name>
<evn_error_code></evn_error_code>
<evn_escalation_name></evn_escalation_name>
<evn_escalation_code></evn_escalation_code>
<evn_condition></evn_condition>
<evn_message></evn_message>
<evn_operation_name></evn_operation_name>
<evn_operation_implementation_ref></evn_operation_implementation_ref>
<evn_time_date></evn_time_date>
<evn_time_cycle></evn_time_cycle>
<evn_time_duration></evn_time_duration>
<evn_behavior>THROW</evn_behavior>
<bou_uid>28502816559303b2aa999f4011952694</bou_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>55623600259303b2aa8c2b3006040225</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>508</bou_x>
<bou_y>100</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<evn_uid>26331855259303a4c486358089637672</evn_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<pro_uid>10245485859303a3ce163f0020070533</pro_uid>
<evn_name><![CDATA[webentry (do not recreate the webentry)]]></evn_name>
<evn_type>START</evn_type>
<evn_marker>EMPTY</evn_marker>
<evn_is_interrupting>1</evn_is_interrupting>
<evn_attached_to></evn_attached_to>
<evn_cancel_activity>0</evn_cancel_activity>
<evn_activity_ref></evn_activity_ref>
<evn_wait_for_completion>0</evn_wait_for_completion>
<evn_error_name></evn_error_name>
<evn_error_code></evn_error_code>
<evn_escalation_name></evn_escalation_name>
<evn_escalation_code></evn_escalation_code>
<evn_condition></evn_condition>
<evn_message>LEAD</evn_message>
<evn_operation_name></evn_operation_name>
<evn_operation_implementation_ref></evn_operation_implementation_ref>
<evn_time_date></evn_time_date>
<evn_time_cycle></evn_time_cycle>
<evn_time_duration></evn_time_duration>
<evn_behavior>CATCH</evn_behavior>
<bou_uid>37327513759303a4c48fb05001608425</bou_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<element_uid>26331855259303a4c486358089637672</element_uid>
<bou_element>6151488955930424aafa4f9007578435</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>100</bou_x>
<bou_y>100</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="EXTENSION"/>
<table name="FLOW">
<record>
<flo_uid>24433461759303a4c4dc2e6055592083</flo_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<flo_type>SEQUENCE</flo_type>
<flo_name> </flo_name>
<flo_element_origin>26331855259303a4c486358089637672</flo_element_origin>
<flo_element_origin_type>bpmnEvent</flo_element_origin_type>
<flo_element_origin_port>0</flo_element_origin_port>
<flo_element_dest>16965000459303a4c2a3e43075058476</flo_element_dest>
<flo_element_dest_type>bpmnActivity</flo_element_dest_type>
<flo_element_dest_port>0</flo_element_dest_port>
<flo_is_inmediate>1</flo_is_inmediate>
<flo_condition></flo_condition>
<flo_x1>133</flo_x1>
<flo_y1>117</flo_y1>
<flo_x2>255</flo_x2>
<flo_y2>117</flo_y2>
<flo_state><![CDATA[[{"x":133,"y":117},{"x":255,"y":117}]]]></flo_state>
<flo_position>1</flo_position>
</record>
<record>
<flo_uid>47236448759303b2ac3b488085814197</flo_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<flo_type>SEQUENCE</flo_type>
<flo_name> </flo_name>
<flo_element_origin>16965000459303a4c2a3e43075058476</flo_element_origin>
<flo_element_origin_type>bpmnActivity</flo_element_origin_type>
<flo_element_origin_port>0</flo_element_origin_port>
<flo_element_dest>55623600259303b2aa8c2b3006040225</flo_element_dest>
<flo_element_dest_type>bpmnEvent</flo_element_dest_type>
<flo_element_dest_port>0</flo_element_dest_port>
<flo_is_inmediate>1</flo_is_inmediate>
<flo_condition></flo_condition>
<flo_x1>406</flo_x1>
<flo_y1>117</flo_y1>
<flo_x2>508</flo_x2>
<flo_y2>117</flo_y2>
<flo_state><![CDATA[[{"x":406,"y":117},{"x":508,"y":117}]]]></flo_state>
<flo_position>1</flo_position>
</record>
</table>
<table name="GATEWAY"/>
<table name="LANE"/>
<table name="LANESET"/>
<table name="PARTICIPANT"/>
<table name="PROCESS">
<record>
<pro_uid>10245485859303a3ce163f0020070533</pro_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<dia_uid>95673127759303a3cd58577062950932</dia_uid>
<pro_name>WebEntry2</pro_name>
<pro_type>NONE</pro_type>
<pro_is_executable>0</pro_is_executable>
<pro_is_closed>0</pro_is_closed>
<pro_is_subprocess>0</pro_is_subprocess>
</record>
</table>
<table name="PROJECT">
<record>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<prj_name>WebEntry2</prj_name>
<prj_description></prj_description>
<prj_target_namespace></prj_target_namespace>
<prj_expresion_language></prj_expresion_language>
<prj_type_language></prj_type_language>
<prj_exporter></prj_exporter>
<prj_exporter_version></prj_exporter_version>
<prj_create_date><![CDATA[2017-06-01 16:01:00]]></prj_create_date>
<prj_update_date><![CDATA[2017-06-01 16:38:38]]></prj_update_date>
<prj_author>00000000000000000000000000000001</prj_author>
<prj_author_version></prj_author_version>
<prj_original_source></prj_original_source>
</record>
</table>
</definition>
<definition class="workflow">
<table name="process">
<record>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<pro_title>WebEntry2</pro_title>
<pro_description></pro_description>
<pro_parent>56559353559303a3cc06e80025826369</pro_parent>
<pro_time>1</pro_time>
<pro_timeunit>DAYS</pro_timeunit>
<pro_status>ACTIVE</pro_status>
<pro_type_day></pro_type_day>
<pro_type>NORMAL</pro_type>
<pro_assignment>FALSE</pro_assignment>
<pro_show_map>0</pro_show_map>
<pro_show_message>0</pro_show_message>
<pro_subprocess>0</pro_subprocess>
<pro_tri_create></pro_tri_create>
<pro_tri_open></pro_tri_open>
<pro_tri_deleted></pro_tri_deleted>
<pro_tri_canceled></pro_tri_canceled>
<pro_tri_paused></pro_tri_paused>
<pro_tri_reassigned></pro_tri_reassigned>
<pro_tri_unpaused></pro_tri_unpaused>
<pro_type_process>PUBLIC</pro_type_process>
<pro_show_delegate>0</pro_show_delegate>
<pro_show_dynaform>0</pro_show_dynaform>
<pro_category></pro_category>
<pro_sub_category></pro_sub_category>
<pro_industry>0</pro_industry>
<pro_update_date><![CDATA[2017-06-01 16:38:38]]></pro_update_date>
<pro_create_date><![CDATA[2017-06-01 16:01:00]]></pro_create_date>
<pro_create_user>00000000000000000000000000000001</pro_create_user>
<pro_height>5000</pro_height>
<pro_width>10000</pro_width>
<pro_title_x>0</pro_title_x>
<pro_title_y>0</pro_title_y>
<pro_debug>0</pro_debug>
<pro_dynaforms><![CDATA[a:1:{s:7:"PROCESS";s:0:"";}]]></pro_dynaforms>
<pro_derivation_screen_tpl></pro_derivation_screen_tpl>
<pro_cost>0</pro_cost>
<pro_unit_cost><![CDATA[$]]></pro_unit_cost>
<pro_itee>1</pro_itee>
<pro_action_done><![CDATA[a:1:{i:0;s:41:"GATEWAYTOGATEWAY_DELETE_CORRUPTED_RECORDS";}]]></pro_action_done>
<pro_category_label>No Category</pro_category_label>
<pro_bpmn>1</pro_bpmn>
</record>
</table>
<table name="tasks">
<record>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>16965000459303a4c2a3e43075058476</tas_uid>
<tas_title>Task 1</tas_title>
<tas_description></tas_description>
<tas_def_title></tas_def_title>
<tas_def_subject_message></tas_def_subject_message>
<tas_def_proc_code></tas_def_proc_code>
<tas_def_message></tas_def_message>
<tas_def_description></tas_def_description>
<tas_type>NORMAL</tas_type>
<tas_duration>1</tas_duration>
<tas_delay_type></tas_delay_type>
<tas_temporizer>0</tas_temporizer>
<tas_type_day></tas_type_day>
<tas_timeunit>DAYS</tas_timeunit>
<tas_alert>FALSE</tas_alert>
<tas_priority_variable></tas_priority_variable>
<tas_assign_type>BALANCED</tas_assign_type>
<tas_assign_variable><![CDATA[@@SYS_NEXT_USER_TO_BE_ASSIGNED]]></tas_assign_variable>
<tas_group_variable></tas_group_variable>
<tas_mi_instance_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCE]]></tas_mi_instance_variable>
<tas_mi_complete_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCES_COMPLETE]]></tas_mi_complete_variable>
<tas_assign_location>FALSE</tas_assign_location>
<tas_assign_location_adhoc>FALSE</tas_assign_location_adhoc>
<tas_transfer_fly>FALSE</tas_transfer_fly>
<tas_last_assigned>00000000000000000000000000000001</tas_last_assigned>
<tas_user>0</tas_user>
<tas_can_upload>FALSE</tas_can_upload>
<tas_view_upload>FALSE</tas_view_upload>
<tas_view_additional_documentation>FALSE</tas_view_additional_documentation>
<tas_can_cancel>FALSE</tas_can_cancel>
<tas_owner_app>FALSE</tas_owner_app>
<stg_uid></stg_uid>
<tas_can_pause>FALSE</tas_can_pause>
<tas_can_send_message>TRUE</tas_can_send_message>
<tas_can_delete_docs>FALSE</tas_can_delete_docs>
<tas_self_service>FALSE</tas_self_service>
<tas_start>TRUE</tas_start>
<tas_to_last_user>FALSE</tas_to_last_user>
<tas_send_last_email>FALSE</tas_send_last_email>
<tas_derivation>NORMAL</tas_derivation>
<tas_posx>255</tas_posx>
<tas_posy>79</tas_posy>
<tas_width>110</tas_width>
<tas_height>60</tas_height>
<tas_color></tas_color>
<tas_evn_uid></tas_evn_uid>
<tas_boundary></tas_boundary>
<tas_derivation_screen_tpl></tas_derivation_screen_tpl>
<tas_selfservice_timeout>0</tas_selfservice_timeout>
<tas_selfservice_time>0</tas_selfservice_time>
<tas_selfservice_time_unit></tas_selfservice_time_unit>
<tas_selfservice_trigger_uid></tas_selfservice_trigger_uid>
<tas_selfservice_execution>EVERY_TIME</tas_selfservice_execution>
<tas_not_email_from_format>0</tas_not_email_from_format>
<tas_offline>FALSE</tas_offline>
<tas_email_server_uid></tas_email_server_uid>
<tas_auto_root>FALSE</tas_auto_root>
<tas_receive_server_uid></tas_receive_server_uid>
<tas_receive_last_email>FALSE</tas_receive_last_email>
<tas_receive_email_from_format>0</tas_receive_email_from_format>
<tas_receive_message_type>text</tas_receive_message_type>
<tas_receive_message_template>alert_message.html</tas_receive_message_template>
<tas_receive_subject_message></tas_receive_subject_message>
<tas_receive_message></tas_receive_message>
<tas_average></tas_average>
<tas_sdv></tas_sdv>
</record>
<record>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>79146780259303a4c3c4224096542966</tas_uid>
<tas_title>WEBENTRY</tas_title>
<tas_description></tas_description>
<tas_def_title></tas_def_title>
<tas_def_subject_message></tas_def_subject_message>
<tas_def_proc_code></tas_def_proc_code>
<tas_def_message></tas_def_message>
<tas_def_description></tas_def_description>
<tas_type>NORMAL</tas_type>
<tas_duration>1</tas_duration>
<tas_delay_type></tas_delay_type>
<tas_temporizer>0</tas_temporizer>
<tas_type_day></tas_type_day>
<tas_timeunit>DAYS</tas_timeunit>
<tas_alert>FALSE</tas_alert>
<tas_priority_variable></tas_priority_variable>
<tas_assign_type>BALANCED</tas_assign_type>
<tas_assign_variable><![CDATA[@@SYS_NEXT_USER_TO_BE_ASSIGNED]]></tas_assign_variable>
<tas_group_variable></tas_group_variable>
<tas_mi_instance_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCE]]></tas_mi_instance_variable>
<tas_mi_complete_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCES_COMPLETE]]></tas_mi_complete_variable>
<tas_assign_location>FALSE</tas_assign_location>
<tas_assign_location_adhoc>FALSE</tas_assign_location_adhoc>
<tas_transfer_fly>FALSE</tas_transfer_fly>
<tas_last_assigned>0</tas_last_assigned>
<tas_user>0</tas_user>
<tas_can_upload>FALSE</tas_can_upload>
<tas_view_upload>FALSE</tas_view_upload>
<tas_view_additional_documentation>FALSE</tas_view_additional_documentation>
<tas_can_cancel>FALSE</tas_can_cancel>
<tas_owner_app>FALSE</tas_owner_app>
<stg_uid></stg_uid>
<tas_can_pause>FALSE</tas_can_pause>
<tas_can_send_message>TRUE</tas_can_send_message>
<tas_can_delete_docs>FALSE</tas_can_delete_docs>
<tas_self_service>FALSE</tas_self_service>
<tas_start>FALSE</tas_start>
<tas_to_last_user>FALSE</tas_to_last_user>
<tas_send_last_email>FALSE</tas_send_last_email>
<tas_derivation>NORMAL</tas_derivation>
<tas_posx>100</tas_posx>
<tas_posy>206</tas_posy>
<tas_width>110</tas_width>
<tas_height>60</tas_height>
<tas_color></tas_color>
<tas_evn_uid></tas_evn_uid>
<tas_boundary></tas_boundary>
<tas_derivation_screen_tpl></tas_derivation_screen_tpl>
<tas_selfservice_timeout>0</tas_selfservice_timeout>
<tas_selfservice_time>0</tas_selfservice_time>
<tas_selfservice_time_unit></tas_selfservice_time_unit>
<tas_selfservice_trigger_uid></tas_selfservice_trigger_uid>
<tas_selfservice_execution>EVERY_TIME</tas_selfservice_execution>
<tas_not_email_from_format>0</tas_not_email_from_format>
<tas_offline>FALSE</tas_offline>
<tas_email_server_uid></tas_email_server_uid>
<tas_auto_root>FALSE</tas_auto_root>
<tas_receive_server_uid></tas_receive_server_uid>
<tas_receive_last_email>FALSE</tas_receive_last_email>
<tas_receive_email_from_format>0</tas_receive_email_from_format>
<tas_receive_message_type>text</tas_receive_message_type>
<tas_receive_message_template>alert_message.html</tas_receive_message_template>
<tas_receive_subject_message></tas_receive_subject_message>
<tas_receive_message></tas_receive_message>
<tas_average></tas_average>
<tas_sdv></tas_sdv>
</record>
<record>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>wee-1855259303a4c486358089637672</tas_uid>
<tas_title>WEBENTRY</tas_title>
<tas_description></tas_description>
<tas_def_title></tas_def_title>
<tas_def_subject_message></tas_def_subject_message>
<tas_def_proc_code></tas_def_proc_code>
<tas_def_message></tas_def_message>
<tas_def_description></tas_def_description>
<tas_type>WEBENTRYEVENT</tas_type>
<tas_duration>1</tas_duration>
<tas_delay_type></tas_delay_type>
<tas_temporizer>0</tas_temporizer>
<tas_type_day></tas_type_day>
<tas_timeunit>DAYS</tas_timeunit>
<tas_alert>FALSE</tas_alert>
<tas_priority_variable></tas_priority_variable>
<tas_assign_type>BALANCED</tas_assign_type>
<tas_assign_variable><![CDATA[@@SYS_NEXT_USER_TO_BE_ASSIGNED]]></tas_assign_variable>
<tas_group_variable></tas_group_variable>
<tas_mi_instance_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCE]]></tas_mi_instance_variable>
<tas_mi_complete_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCES_COMPLETE]]></tas_mi_complete_variable>
<tas_assign_location>FALSE</tas_assign_location>
<tas_assign_location_adhoc>FALSE</tas_assign_location_adhoc>
<tas_transfer_fly>FALSE</tas_transfer_fly>
<tas_last_assigned>00000000000000000000000000000001</tas_last_assigned>
<tas_user>0</tas_user>
<tas_can_upload>FALSE</tas_can_upload>
<tas_view_upload>FALSE</tas_view_upload>
<tas_view_additional_documentation>FALSE</tas_view_additional_documentation>
<tas_can_cancel>FALSE</tas_can_cancel>
<tas_owner_app>FALSE</tas_owner_app>
<stg_uid></stg_uid>
<tas_can_pause>FALSE</tas_can_pause>
<tas_can_send_message>TRUE</tas_can_send_message>
<tas_can_delete_docs>FALSE</tas_can_delete_docs>
<tas_self_service>FALSE</tas_self_service>
<tas_start>TRUE</tas_start>
<tas_to_last_user>FALSE</tas_to_last_user>
<tas_send_last_email>FALSE</tas_send_last_email>
<tas_derivation>NORMAL</tas_derivation>
<tas_posx>100</tas_posx>
<tas_posy>206</tas_posy>
<tas_width>110</tas_width>
<tas_height>60</tas_height>
<tas_color></tas_color>
<tas_evn_uid></tas_evn_uid>
<tas_boundary></tas_boundary>
<tas_derivation_screen_tpl></tas_derivation_screen_tpl>
<tas_selfservice_timeout>0</tas_selfservice_timeout>
<tas_selfservice_time>0</tas_selfservice_time>
<tas_selfservice_time_unit></tas_selfservice_time_unit>
<tas_selfservice_trigger_uid></tas_selfservice_trigger_uid>
<tas_selfservice_execution>EVERY_TIME</tas_selfservice_execution>
<tas_not_email_from_format>0</tas_not_email_from_format>
<tas_offline>FALSE</tas_offline>
<tas_email_server_uid></tas_email_server_uid>
<tas_auto_root>FALSE</tas_auto_root>
<tas_receive_server_uid></tas_receive_server_uid>
<tas_receive_last_email>FALSE</tas_receive_last_email>
<tas_receive_email_from_format>0</tas_receive_email_from_format>
<tas_receive_message_type>text</tas_receive_message_type>
<tas_receive_message_template>alert_message.html</tas_receive_message_template>
<tas_receive_subject_message></tas_receive_subject_message>
<tas_receive_message></tas_receive_message>
<tas_average></tas_average>
<tas_sdv></tas_sdv>
</record>
</table>
<table name="routes">
<record>
<rou_uid>3831401275930430f03a230048632351</rou_uid>
<rou_parent>0</rou_parent>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>wee-1855259303a4c486358089637672</tas_uid>
<rou_next_task>16965000459303a4c2a3e43075058476</rou_next_task>
<rou_case>1</rou_case>
<rou_type>SEQUENTIAL</rou_type>
<rou_default>0</rou_default>
<rou_condition></rou_condition>
<rou_to_last_user>FALSE</rou_to_last_user>
<rou_optional>FALSE</rou_optional>
<rou_send_email>TRUE</rou_send_email>
<rou_sourceanchor>1</rou_sourceanchor>
<rou_targetanchor>0</rou_targetanchor>
<rou_to_port>1</rou_to_port>
<rou_from_port>2</rou_from_port>
<rou_evn_uid></rou_evn_uid>
<gat_uid></gat_uid>
</record>
<record>
<rou_uid>3902368125930430ed2b640062056095</rou_uid>
<rou_parent>0</rou_parent>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>16965000459303a4c2a3e43075058476</tas_uid>
<rou_next_task>-1</rou_next_task>
<rou_case>1</rou_case>
<rou_type>SEQUENTIAL</rou_type>
<rou_default>0</rou_default>
<rou_condition></rou_condition>
<rou_to_last_user>FALSE</rou_to_last_user>
<rou_optional>FALSE</rou_optional>
<rou_send_email>TRUE</rou_send_email>
<rou_sourceanchor>1</rou_sourceanchor>
<rou_targetanchor>0</rou_targetanchor>
<rou_to_port>1</rou_to_port>
<rou_from_port>2</rou_from_port>
<rou_evn_uid></rou_evn_uid>
<gat_uid></gat_uid>
</record>
</table>
<table name="lanes"/>
<table name="gateways"/>
<table name="inputs">
<record>
<inp_doc_uid>48678504459303b80421e58048206875</inp_doc_uid>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<inp_doc_title>input</inp_doc_title>
<inp_doc_description></inp_doc_description>
<inp_doc_form_needed>VIRTUAL</inp_doc_form_needed>
<inp_doc_original>ORIGINAL</inp_doc_original>
<inp_doc_published>PRIVATE</inp_doc_published>
<inp_doc_versioning>0</inp_doc_versioning>
<inp_doc_destination_path></inp_doc_destination_path>
<inp_doc_tags>INPUT</inp_doc_tags>
<inp_doc_type_file><![CDATA[.*]]></inp_doc_type_file>
<inp_doc_max_filesize>0</inp_doc_max_filesize>
<inp_doc_max_filesize_unit>KB</inp_doc_max_filesize_unit>
</record>
</table>
<table name="outputs">
<record>
<out_doc_uid>62358602359303ca88ac523084167406</out_doc_uid>
<out_doc_title>Output doc step</out_doc_title>
<out_doc_description>Generated</out_doc_description>
<out_doc_filename>output</out_doc_filename>
<out_doc_template><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</head>
<body>
<p>Generated at WebEntry 2.0 by @@NAME</p>
<p>Your code is: @@CODE</p>
<p></p>
<p></p>
</body>
</html>]]></out_doc_template>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<out_doc_report_generator>TCPDF</out_doc_report_generator>
<out_doc_landscape>0</out_doc_landscape>
<out_doc_media>Letter</out_doc_media>
<out_doc_left_margin>20</out_doc_left_margin>
<out_doc_right_margin>20</out_doc_right_margin>
<out_doc_top_margin>20</out_doc_top_margin>
<out_doc_bottom_margin>20</out_doc_bottom_margin>
<out_doc_generate>BOTH</out_doc_generate>
<out_doc_type>HTML</out_doc_type>
<out_doc_current_revision></out_doc_current_revision>
<out_doc_field_mapping></out_doc_field_mapping>
<out_doc_versioning>1</out_doc_versioning>
<out_doc_destination_path></out_doc_destination_path>
<out_doc_tags></out_doc_tags>
<out_doc_pdf_security_enabled>0</out_doc_pdf_security_enabled>
<out_doc_pdf_security_open_password></out_doc_pdf_security_open_password>
<out_doc_pdf_security_owner_password></out_doc_pdf_security_owner_password>
<out_doc_pdf_security_permissions></out_doc_pdf_security_permissions>
<out_doc_open_type>1</out_doc_open_type>
</record>
</table>
<table name="dynaforms">
<record>
<dyn_uid>31190541559303cd9b08df8014656617</dyn_uid>
<dyn_title>form2</dyn_title>
<dyn_description></dyn_description>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<dyn_type>xmlform</dyn_type>
<dyn_filename><![CDATA[56559353559303a3cc06e80025826369/31190541559303cd9b08df8014656617]]></dyn_filename>
<dyn_content><![CDATA[{"name":"form2","description":"","items":[{"type":"form","variable":"","var_uid":"","dataType":"","id":"31190541559303cd9b08df8014656617","name":"form2","description":"","mode":"edit","script":"","language":"en","externalLibs":"","printable":false,"items":[[{"type":"title","id":"title0000000001","label":"title_1","colSpan":12}],[{"type":"subtitle","id":"subtitle0000000001","label":"subtitle_1","colSpan":12}],[{"type":"text","variable":"CODE","var_uid":"42858539059303ceaaa5438089098655","dataType":"string","protectedValue":true,"id":"CODE","name":"CODE","label":"Your code","defaultValue":"","placeholder":"","hint":"","required":false,"textTransform":"none","validate":"","validateMessage":"","maxLength":1000,"formula":"","mode":"parent","operation":"","datasource":"database","dbConnection":"workflow","dbConnectionLabel":"PM Database","sql":"","dataVariable":"","var_name":"CODE","colSpan":12}],[{"type":"submit","id":"submit0000000001","name":"submit0000000001","label":"Next Step","colSpan":12}]],"variables":[{"var_uid":"42858539059303ceaaa5438089098655","prj_uid":"56559353559303a3cc06e80025826369","var_name":"CODE","var_field_type":"string","var_field_size":10,"var_label":"string","var_dbconnection":"workflow","var_dbconnection_label":"PM Database","var_sql":"","var_null":0,"var_default":"","var_accepted_values":"[]","inp_doc_uid":""}]}]}]]></dyn_content>
<dyn_label></dyn_label>
<dyn_version>2</dyn_version>
<dyn_update_date><![CDATA[2017-06-01 16:12:59]]></dyn_update_date>
</record>
<record>
<dyn_uid>88922857259303a5ce1f887010389343</dyn_uid>
<dyn_title>form1</dyn_title>
<dyn_description></dyn_description>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<dyn_type>xmlform</dyn_type>
<dyn_filename><![CDATA[56559353559303a3cc06e80025826369/88922857259303a5ce1f887010389343]]></dyn_filename>
<dyn_content><![CDATA[{"name":"form1","description":"","items":[{"type":"form","variable":"","var_uid":"","dataType":"","id":"88922857259303a5ce1f887010389343","name":"form1","description":"","mode":"edit","script":"","language":"en","externalLibs":"","printable":false,"items":[[{"type":"title","id":"title0000000001","label":"WebEntry 2.0","colSpan":12}],[{"type":"subtitle","id":"subtitle0000000001","label":"First Step","colSpan":12}],[{"type":"text","variable":"NAME","var_uid":"94396334059303c77612577074716073","dataType":"string","protectedValue":false,"id":"NAME","name":"NAME","label":"Your name","defaultValue":"","placeholder":"","hint":"","required":false,"textTransform":"none","validate":"","validateMessage":"","maxLength":1000,"formula":"","mode":"parent","operation":"","datasource":"database","dbConnection":"workflow","dbConnectionLabel":"PM Database","sql":"","dataVariable":"","var_name":"NAME","colSpan":12}],[{"type":"submit","id":"submit0000000001","name":"submit0000000001","label":"Next Step","colSpan":12}]],"variables":[{"var_uid":"94396334059303c77612577074716073","prj_uid":"56559353559303a3cc06e80025826369","var_name":"NAME","var_field_type":"string","var_field_size":10,"var_label":"string","var_dbconnection":"workflow","var_dbconnection_label":"PM Database","var_sql":"","var_null":0,"var_default":"","var_accepted_values":"[]","inp_doc_uid":""}]}]}]]></dyn_content>
<dyn_label></dyn_label>
<dyn_version>2</dyn_version>
<dyn_update_date><![CDATA[2017-06-01 16:10:49]]></dyn_update_date>
</record>
</table>
<table name="steps">
<record>
<step_uid>13911436659303d139063e4090444439</step_uid>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>wee-1855259303a4c486358089637672</tas_uid>
<step_type_obj>DYNAFORM</step_type_obj>
<step_uid_obj>31190541559303cd9b08df8014656617</step_uid_obj>
<step_condition></step_condition>
<step_position>2</step_position>
<step_mode>EDIT</step_mode>
</record>
<record>
<step_uid>40852133559303ccfe1a382002839416</step_uid>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>wee-1855259303a4c486358089637672</tas_uid>
<step_type_obj>OUTPUT_DOCUMENT</step_type_obj>
<step_uid_obj>62358602359303ca88ac523084167406</step_uid_obj>
<step_condition></step_condition>
<step_position>4</step_position>
<step_mode>EDIT</step_mode>
</record>
<record>
<step_uid>56695174459303a69ded370094811544</step_uid>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>wee-1855259303a4c486358089637672</tas_uid>
<step_type_obj>DYNAFORM</step_type_obj>
<step_uid_obj>88922857259303a5ce1f887010389343</step_uid_obj>
<step_condition></step_condition>
<step_position>1</step_position>
<step_mode>EDIT</step_mode>
</record>
<record>
<step_uid>96569604359303b9ae8d584027424919</step_uid>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tas_uid>wee-1855259303a4c486358089637672</tas_uid>
<step_type_obj>INPUT_DOCUMENT</step_type_obj>
<step_uid_obj>48678504459303b80421e58048206875</step_uid_obj>
<step_condition></step_condition>
<step_position>3</step_position>
<step_mode>EDIT</step_mode>
</record>
</table>
<table name="triggers">
<record>
<tri_uid>34990214159303d842fbfd6017869869</tri_uid>
<tri_title>Generate Code</tri_title>
<tri_description></tri_description>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<tri_type>SCRIPT</tri_type>
<tri_webbot><![CDATA[@@CODE = uniqid("TRI_");]]></tri_webbot>
<tri_param></tri_param>
</record>
</table>
<table name="taskusers"/>
<table name="groupwfs"/>
<table name="steptriggers">
<record>
<step_uid>13911436659303d139063e4090444439</step_uid>
<tas_uid>wee-1855259303a4c486358089637672</tas_uid>
<tri_uid>34990214159303d842fbfd6017869869</tri_uid>
<st_type>BEFORE</st_type>
<st_condition></st_condition>
<st_position>1</st_position>
</record>
</table>
<table name="dbconnections"/>
<table name="reportTables"/>
<table name="reportTablesVars"/>
<table name="stepSupervisor"/>
<table name="objectPermissions"/>
<table name="subProcess"/>
<table name="caseTracker"/>
<table name="caseTrackerObject"/>
<table name="stage"/>
<table name="fieldCondition"/>
<table name="event"/>
<table name="caseScheduler"/>
<table name="processCategory"/>
<table name="taskExtraProperties"/>
<table name="processUser"/>
<table name="processVariables">
<record>
<var_uid>42858539059303ceaaa5438089098655</var_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<var_name>CODE</var_name>
<var_field_type>string</var_field_type>
<var_field_size>10</var_field_size>
<var_label>string</var_label>
<var_dbconnection>workflow</var_dbconnection>
<var_sql></var_sql>
<var_null>0</var_null>
<var_default></var_default>
<var_accepted_values><![CDATA[[]]]></var_accepted_values>
<inp_doc_uid></inp_doc_uid>
</record>
<record>
<var_uid>94396334059303c77612577074716073</var_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<var_name>NAME</var_name>
<var_field_type>string</var_field_type>
<var_field_size>10</var_field_size>
<var_label>string</var_label>
<var_dbconnection>workflow</var_dbconnection>
<var_sql></var_sql>
<var_null>0</var_null>
<var_default></var_default>
<var_accepted_values><![CDATA[[]]]></var_accepted_values>
<inp_doc_uid></inp_doc_uid>
</record>
</table>
<table name="webEntry"/>
<table name="webEntryEvent">
<record>
<wee_uid>77353010159303a6a3cbe28043190607</wee_uid>
<prj_uid>56559353559303a3cc06e80025826369</prj_uid>
<evn_uid>26331855259303a4c486358089637672</evn_uid>
<act_uid>16965000459303a4c2a3e43075058476</act_uid>
<dyn_uid>88922857259303a5ce1f887010389343</dyn_uid>
<usr_uid></usr_uid>
<wee_title>26331855259303a4c486358089637672</wee_title>
<wee_description></wee_description>
<wee_status>ENABLED</wee_status>
<wee_we_uid>81407840459303a6a09dcc4087975719</wee_we_uid>
<wee_we_tas_uid>wee-1855259303a4c486358089637672</wee_we_tas_uid>
<wee_we_url>26331855259303a4c486358089637672.php</wee_we_url>
<we_custom_title></we_custom_title>
<we_type>MULTIPLE</we_type>
<we_authentication>LOGIN_REQUIRED</we_authentication>
<we_hide_information_bar>0</we_hide_information_bar>
<we_callback>PROCESSMAKER</we_callback>
<we_callback_url></we_callback_url>
<we_link_generation>DEFAULT</we_link_generation>
<we_link_skin></we_link_skin>
<we_link_language></we_link_language>
<we_link_domain></we_link_domain>
<tas_uid>wee-1855259303a4c486358089637672</tas_uid>
</record>
</table>
<table name="messageType"/>
<table name="messageTypeVariable"/>
<table name="messageEventDefinition"/>
<table name="scriptTask"/>
<table name="timerEvent"/>
<table name="emailEvent"/>
<table name="filesManager">
<record>
<prf_uid>73977577559303b4563ed83089686045</prf_uid>
<pro_uid>56559353559303a3cc06e80025826369</pro_uid>
<usr_uid>00000000000000000000000000000001</usr_uid>
<prf_update_usr_uid></prf_update_usr_uid>
<prf_path><![CDATA[/Users/davidcallizaya/NetBeansProjects/processmaker0/shared/sites/hor3207/mailTemplates/56559353559303a3cc06e80025826369/actionsByEmail.html]]></prf_path>
<prf_type>file</prf_type>
<prf_editable>1</prf_editable>
<prf_create_date><![CDATA[2017-06-01 16:05:25]]></prf_create_date>
<prf_update_date></prf_update_date>
</record>
</table>
<table name="abeConfiguration"/>
<table name="elementTask"/>
</definition>
<workflow-files>
<file target="dynaforms">
<file_name>form2</file_name>
<file_path><![CDATA[56559353559303a3cc06e80025826369/31190541559303cd9b08df8014656617.xml]]></file_path>
<file_content><![CDATA[PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGR5bmFGb3JtIHR5cGU9InhtbGZvcm0iIG5hbWU9IjU2NTU5MzUzNTU5MzAzYTNjYzA2ZTgwMDI1ODI2MzY5LzMxMTkwNTQxNTU5MzAzY2Q5YjA4ZGY4MDE0NjU2NjE3IiB3aWR0aD0iNTAwIiBlbmFibGV0ZW1wbGF0ZT0iMCIgbW9kZT0iIiBuZXh0c3RlcHNhdmU9InByb21wdCI+CjwvZHluYUZvcm0+]]></file_content>
</file>
<file target="dynaforms">
<file_name>form1</file_name>
<file_path><![CDATA[56559353559303a3cc06e80025826369/88922857259303a5ce1f887010389343.xml]]></file_path>
<file_content><![CDATA[PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGR5bmFGb3JtIHR5cGU9InhtbGZvcm0iIG5hbWU9IjU2NTU5MzUzNTU5MzAzYTNjYzA2ZTgwMDI1ODI2MzY5Lzg4OTIyODU3MjU5MzAzYTVjZTFmODg3MDEwMzg5MzQzIiB3aWR0aD0iNTAwIiBlbmFibGV0ZW1wbGF0ZT0iMCIgbW9kZT0iIiBuZXh0c3RlcHNhdmU9InByb21wdCI+CjwvZHluYUZvcm0+]]></file_content>
</file>
<file target="templates">
<file_name>actionsByEmail.html</file_name>
<file_path><![CDATA[56559353559303a3cc06e80025826369/actionsByEmail.html]]></file_path>
<file_content><![CDATA[PHRhYmxlIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTsgZm9udC1mYW1pbHk6IEFyaWFsLEhlbHZldGljYSxzYW5zLXNlcmlmOyBjb2xvcjogYmxhY2s7IGZvbnQtc2l6ZTogMTFweDsgdGV4dC1hbGlnbjogbGVmdDsiIGNlbGxwYWRkaW5nPSIxMCIgY2VsbHNwYWNpbmc9IjAiIHdpZHRoPSIxMDAlIj4NCjx0cj4NCiAgPHRkIHN0eWxlPSJmb250LXNpemU6IDE0cHg7Ij48Yj5BQ1RJT05TIEJZIEVNQUlMPC9iPjwvdGQ+DQo8L3RyPg0KPHRyPg0KICA8dGQgc3R5bGU9InZlcnRpY2FsLWFsaWduOm1pZGRsZTsiPg0KCSAgPGhyPg0KCSAgPGJyIC8+DQoJICBAI19fQUJFX18NCiAgICA8YnIgLz4NCgkJPGJyIC8+DQoJCTxocj48Yj5UaGlzIEJ1c2luZXNzIFByb2Nlc3MgaXMgcG93ZXJlZCBieSBQcm9jZXNzTWFrZXIuPGI+DQoJCTxiciAvPg0KCQk8YSBocmVmPSJodHRwOi8vd3d3LnByb2Nlc3NtYWtlci5jb20iIHN0eWxlPSJjb2xvcjojYzQwMDAwOyI+d3d3LnByb2Nlc3NtYWtlci5jb208L2E+DQoJCTxiciAvPg0KICA8L3RkPg0KPC90cj4NCjwvdGFibGU+]]></file_content>
</file>
<file target="public">
<file_name>26331855259303a4c486358089637672Info.php</file_name>
<file_path><![CDATA[56559353559303a3cc06e80025826369/26331855259303a4c486358089637672Info.php]]></file_path>
<file_content><![CDATA[PD9waHAKCiRHX1BVQkxJU0ggPSBuZXcgUHVibGlzaGVyKCk7CiRzaG93ID0gImxvZ2luL3Nob3dNZXNzYWdlIjsKJG1lc3NhZ2UgPSAiIjsKaWYgKGlzc2V0KCRfU0VTU0lPTlsiX193ZWJFbnRyeVN1Y2Nlc3NfXyJdKSkgewogICAgJHNob3cgPSAibG9naW4vc2hvd0luZm8iOwogICAgJG1lc3NhZ2UgPSAkX1NFU1NJT05bIl9fd2ViRW50cnlTdWNjZXNzX18iXTsKfSBlbHNlIHsKICAgICRzaG93ID0gImxvZ2luL3Nob3dNZXNzYWdlIjsKICAgICRtZXNzYWdlID0gJF9TRVNTSU9OWyJfX3dlYkVudHJ5RXJyb3JfXyJdOwp9CiRHX1BVQkxJU0gtPkFkZENvbnRlbnQoInhtbGZvcm0iLCAieG1sZm9ybSIsICRzaG93LCAiIiwgJG1lc3NhZ2UpOwpHOjpSZW5kZXJQYWdlKCJwdWJsaXNoIiwgImJsYW5rIik7Cgo=]]></file_content>
</file>
</workflow-files>
</ProcessMaker-Project>

View File

@@ -0,0 +1,746 @@
<?php
namespace ProcessMaker\BusinessModel;
use ProcessMaker\Importer\XmlImporter;
/**
* WebEntryEventTest test
*/
class WebEntryEventTest extends \WorkflowTestCase
{
const SKIP_VALUE = '&SKIP_VALUE%';
/**
* @var WebEntryEvent $object
*/
protected $object;
private $processUid;
private $processUid2;
private $adminUid = '00000000000000000000000000000001';
private $customTitle = 'CUSTOM TITLE';
private $domain = 'http://domain.localhost';
/**
* Sets up the unit test.
*/
protected function setUp()
{
$this->setupDB();
$this->processUid = $this->import(__DIR__.'/WebEntryEventTest.pmx');
$this->processUid2 = $this->import(__DIR__.'/WebEntryEventTest2.pmx');
$this->object = new WebEntryEvent;
$this->setTranslation('ID_INVALID_VALUE_CAN_NOT_BE_EMPTY',
'ID_INVALID_VALUE_CAN_NOT_BE_EMPTY({0})');
$this->setTranslation('ID_UNDEFINED_VALUE_IS_REQUIRED',
'ID_UNDEFINED_VALUE_IS_REQUIRED({0})');
$this->setTranslation('ID_WEB_ENTRY_EVENT_DOES_NOT_EXIST',
'ID_WEB_ENTRY_EVENT_DOES_NOT_EXIST({0})');
$this->setTranslation('ID_INVALID_VALUE_ONLY_ACCEPTS_VALUES',
'ID_INVALID_VALUE_ONLY_ACCEPTS_VALUES({0},{1})');
$this->setTranslation('ID_DYNAFORM_IS_NOT_ASSIGNED_TO_ACTIVITY',
'ID_DYNAFORM_IS_NOT_ASSIGNED_TO_ACTIVITY({0},{1})');
}
/**
* Tears down the unit test.
*/
protected function tearDown()
{
$this->dropDB();
$this->clearTranslations();
}
/**
* @covers ProcessMaker\BusinessModel\WebEntryEvent::getWebEntryEvents
* @category HOR-3207:5
*/
public function testGetWebEntryEvents()
{
$entryEvents = $this->object->getWebEntryEvents($this->processUid);
$this->assertCount(2, $entryEvents);
$this->assertNotNull($entryEvents[0]['TAS_UID']);
$this->assertNull($entryEvents[0]['WE_CUSTOM_TITLE']);
$this->assertEquals($entryEvents[0]['WE_AUTHENTICATION'], 'ANONYMOUS');
$this->assertEquals($entryEvents[0]['WE_HIDE_INFORMATION_BAR'], '1');
$this->assertEquals($entryEvents[0]['WE_CALLBACK'], 'PROCESSMAKER');
$this->assertNull($entryEvents[0]['WE_CALLBACK_URL']);
$this->assertEquals($entryEvents[0]['WE_LINK_GENERATION'], 'DEFAULT');
$this->assertNull($entryEvents[0]['WE_LINK_SKIN']);
$this->assertNull($entryEvents[0]['WE_LINK_LANGUAGE']);
$this->assertNull($entryEvents[0]['WE_LINK_DOMAIN']);
}
/**
* @covers ProcessMaker\BusinessModel\WebEntryEvent::getAllWebEntryEvents
*/
public function testGetAllWebEntryEvents()
{
$entryEvents = $this->object->getAllWebEntryEvents();
$this->assertCount(3, $entryEvents);
$this->assertNull($entryEvents[0]['WE_CUSTOM_TITLE']);
$this->assertEquals($entryEvents[0]['WE_AUTHENTICATION'], 'ANONYMOUS');
$this->assertEquals($entryEvents[0]['WE_HIDE_INFORMATION_BAR'], '1');
$this->assertEquals($entryEvents[0]['WE_CALLBACK'], 'PROCESSMAKER');
$this->assertNull($entryEvents[0]['WE_CALLBACK_URL']);
$this->assertEquals($entryEvents[0]['WE_LINK_GENERATION'], 'DEFAULT');
$this->assertNull($entryEvents[0]['WE_LINK_SKIN']);
$this->assertNull($entryEvents[0]['WE_LINK_LANGUAGE']);
$this->assertNull($entryEvents[0]['WE_LINK_DOMAIN']);
}
/**
* @covers ProcessMaker\BusinessModel\WebEntryEvent::getWebEntryEvent
* @category HOR-3207:6
*/
public function testGetWebEntryEvent()
{
$entryEvents = $this->object->getWebEntryEvents($this->processUid);
$entry = $this->object->getWebEntryEvent($entryEvents[0]['WEE_UID']);
$this->assertEquals($entryEvents[0], $entry);
}
/**
* Duplicated web entry
* @cover ProcessMaker\BusinessModel\WebEntryEvent::create
* @category HOR-3207:7,HOR-3207:2
*/
public function testCreateSingleNonAuthAlreadyRegistered()
{
$this->expectException(\Exception::class);
$this->expectExceptionMessage('**ID_WEB_ENTRY_EVENT_ALREADY_REGISTERED**');
$entryEvents = $this->object->getWebEntryEvents($this->processUid);
$dynaform = $this->getADynaform();
$this->object->create(
$this->processUid, $this->adminUid,
[
'EVN_UID' => $entryEvents[0]['EVN_UID'],
'ACT_UID' => $entryEvents[0]['ACT_UID'],
'DYN_UID' => $dynaform->getDynUid(),
'WEE_STATUS' => 'ENABLED',
'USR_UID' => $this->adminUid,
'WEE_TITLE' => $entryEvents[0]['EVN_UID'],
]
);
$this->assertEquals(
$this->getSimpleWebEntryUrl($webEntry), $entryEvent['WEE_URL'],
'Wrong single web entry url (backward compativility)'
);
}
/**
* Create a new empty single non auth WE
* @cover ProcessMaker\BusinessModel\WebEntryEvent::create
* @category HOR-3207:7
*/
public function testCreateSingleNonAuth()
{
$processUid = $this->processUid2;
$entryEvents = $this->object->getWebEntryEvents($processUid);
list($webEntry, $entryEvent) = $this->createWebEntryEvent(
$processUid, $entryEvents,
[
'DYN_UID' => $entryEvents[0]['DYN_UID'],
]
);
$this->assertEquals(
$this->getSimpleWebEntryUrl($webEntry), $entryEvent['WEE_URL'],
'Wrong single web entry url (backward compativility)'
);
}
/**
* Create a new empty multiple non auth WE
* @cover ProcessMaker\BusinessModel\WebEntryEvent::create
* @category HOR-3207:7
*/
public function testCreateNewMultipleNonAuth()
{
$processUid = $this->processUid2;
$entryEvents = $this->object->getWebEntryEvents($processUid);
$this->createWebEntryEvent(
$processUid,
$entryEvents,
[
'WE_TYPE' => "MULTIPLE",
'WE_CUSTOM_TITLE' => $this->customTitle,
'WE_AUTHENTICATION' => 'ANONYMOUS',
'WE_HIDE_INFORMATION_BAR' => "0",
'WE_CALLBACK' => "PROCESSMAKER",
'WE_CALLBACK_URL' => "http://domain.localhost/callback",
'WE_LINK_GENERATION' => "ADVANCED",
'WE_LINK_SKIN' => SYS_SKIN,
'WE_LINK_LANGUAGE' => SYS_LANG,
'WE_LINK_DOMAIN' => $this->domain,
'WEE_STATUS' => 'DISABLED',
]
);
}
/**
* Delete a webentry
* @cover ProcessMaker\BusinessModel\WebEntryEvent::delete
* @category HOR-3207:9
*/
public function testDelete()
{
$processUid = $this->processUid;
$criteria = new \Criteria;
$criteria->add(\WebEntryPeer::PRO_UID, $processUid);
$entryEvents = $this->object->getWebEntryEvents($processUid);
$fistWebEntryUid = $entryEvents[0]['WEE_UID'];
$this->assertCount(2, $entryEvents);
$this->assertCount(2, \WebEntryPeer::doSelect($criteria));
$this->object->delete($entryEvents[0]['WEE_UID']);
$entryEvents = $this->object->getWebEntryEvents($processUid);
$this->assertCount(1, $entryEvents);
$this->assertCount(1, \WebEntryPeer::doSelect($criteria));
$this->object->delete($entryEvents[0]['WEE_UID']);
$entryEvents = $this->object->getWebEntryEvents($processUid);
$this->assertCount(0, $entryEvents);
$this->assertCount(0, \WebEntryPeer::doSelect($criteria));
$this->expectException(\Exception::class);
$this->object->delete($fistWebEntryUid);
}
/**
* Create different combinations of WE
* @cover ProcessMaker\BusinessModel\WebEntryEvent::create
* @category HOR-3207:7
*/
public function testCreate()
{
/* @var $webEntry \WebEntry */
$processUid = $this->processUid2;
$entryEvents = $this->object->getWebEntryEvents($processUid);
$this->assertCount(1, $entryEvents);
$rows = $this->getCombinationsFor([
'WE_LINK_GENERATION' => ['DEFAULT', 'ADVANCED'],
'WEE_STATUS' => ['ENABLED', null],
'WE_TYPE' => ['MULTIPLE'],
'WE_LINK_SKIN' => [SYS_SKIN],
'WE_LINK_LANGUAGE' => [SYS_LANG],
'WE_LINK_DOMAIN' => ['domain.localhost'],
]);
$criteria = new \Criteria();
$criteria->add(\BpmnEventPeer::PRJ_UID, $processUid);
$criteria->add(\BpmnEventPeer::EVN_NAME, 'simple start');
$event = \BpmnEventPeer::doSelectOne($criteria);
foreach ($rows as $row) {
try {
$data = [
'EVN_UID' => $event->getEvnUid(),
'ACT_UID' => $entryEvents[0]['ACT_UID'],
'USR_UID' => $this->adminUid,
'WEE_TITLE' => $event->getEvnUid(),
];
foreach ($row as $key => $value) {
if (isset($value)) {
$data[$key] = $value;
}
}
$this->object->create($processUid, $this->adminUid, $data);
$entryEvents2 = $this->object->getWebEntryEvents($processUid);
foreach ($entryEvents2 as $entryEvent) {
if ($entryEvent['EVN_UID'] === $event->getEvnUid()) {
break;
}
}
$webEntry = $this->getWebEntry($entryEvent);
$this->assertCount(2, $entryEvents2,
'Expected 2 events after create');
$this->object->delete($entryEvent['WEE_UID']);
foreach ($data as $key => $value) {
$this->assertEquals($value, $entryEvent[$key], ">$key<");
}
} catch (\PHPUnit_Framework_ExpectationFailedException $e) {
if (
$row['WE_LINK_GENERATION'] === 'DEFAULT' &&
preg_match('/>WEE_URL</', $e->getMessage())
) {
$this->assertEquals(
$this->getSimpleWebEntryUrl($webEntry),
$entryEvent['WEE_URL'],
'Wrong single web entry url (backward compativility)'
);
} else {
throw $e;
}
}
}
}
/**
* Create a WE with invalid parameters
* @cover ProcessMaker\BusinessModel\WebEntryEvent::create
* @category HOR-3207:7,HOR-3207:2
*/
public function testInvalidCreate()
{
$processUid = $this->processUid2;
$entryEvents = $this->object->getWebEntryEvents($processUid);
$this->expectException(\Exception::class);
$this->expectExceptionMessageRegExp('/(Please enter a valid value for (WE_TYPE|WE_AUTHENTICATION|WE_CALLBACK|WE_LINK_GENERATION)\s*){4,4}/');
$this->createWebEntryEvent(
$processUid, $entryEvents,
[
'WEE_URL' => $this->domain."/sys".SYS_SYS."/".SYS_LANG."/".SYS_SKIN."/".$processUid."/custom.php",
'WE_TYPE' => "NOT-VALID-SINGLE",
'WE_CUSTOM_TITLE' => $this->customTitle,
'WE_AUTHENTICATION' => 'NOT-VALID-ANONYMOUS',
'WE_HIDE_INFORMATION_BAR' => "0",
'WE_CALLBACK' => "NOT-VALID-PROCESSMAKER",
'WE_CALLBACK_URL' => "http://domain.localhost/callback",
'WE_LINK_GENERATION' => "NOT-VALID-ADVANCED",
'WE_LINK_SKIN' => SYS_SKIN,
'WE_LINK_LANGUAGE' => SYS_LANG,
'WE_LINK_DOMAIN' => $this->domain,
]
);
}
/**
* Update different combinations of web entries
* @throws \PHPUnit_Framework_ExpectationFailedException
* @cover ProcessMaker\BusinessModel\WebEntryEvent::update
* @category HOR-3207:8
*/
public function testUpdate()
{
$processUid = $this->processUid;
$entryEvents = $this->object->getWebEntryEvents($processUid);
$entryEvent = $entryEvents[0];
$webEntryEventUid = $entryEvent['WEE_UID'];
$userUidUpdater = $this->adminUid;
$criteria = new \Criteria;
$criteria->add(\DynaformPeer::PRO_UID, $processUid);
$dynaforms = \DynaformPeer::doSelect($criteria);
$dynaformIds = [null];
foreach ($dynaforms as $dyn) {
$dynaformIds[] = $dyn->getDynUid();
}
$rows = $this->getCombinationsFor([
'WE_LINK_GENERATION' => ['DEFAULT', 'ADVANCED'],
'DYN_UID' => $dynaformIds,
'USR_UID' => [null, $this->adminUid, static::SKIP_VALUE],
'WE_LINK_SKIN' => [SYS_SKIN],
'WE_LINK_LANGUAGE' => [SYS_LANG],
'WE_LINK_DOMAIN' => [$this->domain],
]);
foreach ($rows as $row) {
try {
$this->object->update($webEntryEventUid, $userUidUpdater, $row);
$entryEvent = $this->object->getWebEntryEvent($webEntryEventUid);
$webEntry = $this->getWebEntry($entryEvent);
foreach ($row as $key => $value) {
$this->assertEquals($value, $entryEvent[$key], ">$key<");
}
} catch (\PHPUnit_Framework_ExpectationFailedException $e) {
if (
$row['WE_LINK_GENERATION'] === 'DEFAULT' &&
preg_match('/>WEE_URL</', $e->getMessage())
) {
$this->assertEquals(
$this->getSimpleWebEntryUrl($webEntry),
$entryEvent['WEE_URL'],
'Wrong single web entry url (backward compativility)'
);
} else {
throw $e;
}
}
}
}
/**
* Update WE with invalid parameters
* @cover ProcessMaker\BusinessModel\WebEntryEvent::update
* @category HOR-3207:8,HOR-3207:2
*/
public function testInvalidUpdate()
{
$processUid = $this->processUid;
$entryEvents = $this->object->getWebEntryEvents($processUid);
$entryEvent = $entryEvents[0];
$webEntryEventUid = $entryEvent['WEE_UID'];
$userUidUpdater = $this->adminUid;
$this->expectException(\Exception::class);
$this->expectExceptionMessageRegExp('/(Please enter a valid value for (WE_TYPE|WE_AUTHENTICATION|WE_CALLBACK|WE_LINK_GENERATION)\s*){4,4}/');
$this->object->update(
$webEntryEventUid,
$userUidUpdater,
[
'WEE_URL' => $this->domain."/sys".SYS_SYS."/".SYS_LANG."/".SYS_SKIN."/".$processUid."/custom.php",
'WE_TYPE' => "NOT-VALID-SINGLE",
'WE_CUSTOM_TITLE' => $this->customTitle,
'WE_AUTHENTICATION' => 'NOT-VALID-ANONYMOUS',
'WE_HIDE_INFORMATION_BAR' => "0",
'WE_CALLBACK' => "NOT-VALID-PROCESSMAKER",
'WE_CALLBACK_URL' => "http://domain.localhost/callback",
'WE_LINK_GENERATION' => "NOT-VALID-ADVANCED",
'WE_LINK_SKIN' => SYS_SKIN,
'WE_LINK_LANGUAGE' => SYS_LANG,
'WE_LINK_DOMAIN' => $this->domain,
]
);
}
/**
* Required USR_UID
* @cover ProcessMaker\BusinessModel\WebEntryEvent::update
* @category HOR-3207:2
*/
public function testUsrUidNotRequiredIfLoginRequired()
{
$processUid = $this->processUid2;
$entryEvents = $this->object->getWebEntryEvents($processUid);
list($webEntry, $entryEvent) = $this->createWebEntryEvent(
$processUid, $entryEvents,
[
'WE_AUTHENTICATION' => 'LOGIN_REQUIRED',
'DYN_UID' => $entryEvents[0]['DYN_UID'],
'USR_UID' => null,
]
);
}
/**
* Required fields
* @cover ProcessMaker\BusinessModel\WebEntryEvent::create
* @category HOR-3207:2
*/
public function testRequiredFields()
{
$processUid = $this->processUid2;
$entryEvents = $this->object->getWebEntryEvents($processUid);
$dynaform = $this->getADynaform($processUid);
$criteria = new \Criteria();
$criteria->add(\BpmnEventPeer::PRJ_UID, $processUid);
$criteria->add(\BpmnEventPeer::EVN_NAME, 'simple start');
$event = \BpmnEventPeer::doSelectOne($criteria);
//EVN_UID
try {
$data = [
];
$this->object->create($processUid, $this->adminUid, $data);
} catch (\Exception $e) {
$this->assertEquals('ID_INVALID_VALUE_CAN_NOT_BE_EMPTY($arrayData)',
$e->getMessage());
}
//EVN_UID
try {
$data = [
'WE_CUSTOM_TITLE' => $this->customTitle,
];
$this->object->create($processUid, $this->adminUid, $data);
} catch (\Exception $e) {
$this->assertEquals('ID_UNDEFINED_VALUE_IS_REQUIRED(EVN_UID)',
$e->getMessage());
}
//ACT_UID
try {
$data = [
'EVN_UID' => $event->getEvnUid(),
];
$this->object->create($processUid, $this->adminUid, $data);
} catch (\Exception $e) {
$this->assertEquals('ID_UNDEFINED_VALUE_IS_REQUIRED(ACT_UID)',
$e->getMessage());
}
//DYN_UID
try {
$data = [
'EVN_UID' => $event->getEvnUid(),
'ACT_UID' => $entryEvents[0]['ACT_UID'],
];
$this->object->create($processUid, $this->adminUid, $data);
} catch (\Exception $e) {
$this->assertEquals('ID_UNDEFINED_VALUE_IS_REQUIRED(DYN_UID)',
$e->getMessage());
}
//USR_UID (WE_AUTHENTICATION=ANONYMOUS)
try {
$data = [
'EVN_UID' => $event->getEvnUid(),
'ACT_UID' => $entryEvents[0]['ACT_UID'],
'DYN_UID' => $dynaform->getDynUid(),
];
$this->object->create($processUid, $this->adminUid, $data);
} catch (\Exception $e) {
$this->assertEquals('ID_UNDEFINED_VALUE_IS_REQUIRED(USR_UID)',
$e->getMessage());
}
//WEE_TITLE
try {
$data = [
'EVN_UID' => $event->getEvnUid(),
'ACT_UID' => $entryEvents[0]['ACT_UID'],
'DYN_UID' => $dynaform->getDynUid(),
'USR_UID' => $this->adminUid,
];
$this->object->create($processUid, $this->adminUid, $data);
} catch (\Exception $e) {
$this->assertEquals('ID_INVALID_VALUE_CAN_NOT_BE_EMPTY(WEE_TITLE)',
$e->getMessage());
}
}
/**
* Tests importing a BPMN with WE2 information.
* The import maintain the UIDs.
*
* @cover ProcessMaker\BusinessModel\WebEntryEvent
*/
public function testImportProcessWithWE2()
{
$proUid = $this->import(__DIR__.'/WebEntry2-multi-login.pmx');
$this->assertNotEmpty($proUid);
$taskCriteria = new \Criteria;
$taskCriteria->add(\TaskPeer::PRO_UID, $proUid);
$taskCriteria->add(\TaskPeer::TAS_UID, "wee-%", \Criteria::LIKE);
$task = \TaskPeer::doSelectOne($taskCriteria);
//Check steps
$criteria = new \Criteria;
$criteria->add(\StepPeer::TAS_UID, $task->getTasUid());
$criteria->addAscendingOrderByColumn(\StepPeer::STEP_POSITION);
$steps = [];
$stepWithTrigger = 1;
$uidStepWithTrigger = null;
foreach (\StepPeer::doSelect($criteria) as $index => $step) {
$steps[]=$step->getStepTypeObj();
if ($index == $stepWithTrigger) {
$uidStepWithTrigger = $step->getStepUid();
}
}
$this->assertEquals(
["DYNAFORM", "DYNAFORM", "INPUT_DOCUMENT", "OUTPUT_DOCUMENT"],
$steps
);
//Check triggers
$criteriaTri = new \Criteria;
$criteriaTri->add(\StepTriggerPeer::TAS_UID, $task->getTasUid());
$criteriaTri->add(\StepTriggerPeer::STEP_UID, $uidStepWithTrigger);
$criteriaTri->addAscendingOrderByColumn(\StepTriggerPeer::ST_POSITION);
$triggers = [];
foreach (\StepTriggerPeer::doSelect($criteriaTri) as $stepTri) {
$triggers[]=[$stepTri->getStepUid(), $stepTri->getStType()];
}
$this->assertEquals(
[[$uidStepWithTrigger, "BEFORE"]],
$triggers
);
}
/**
* Tests importing a BPMN with WE2 information.
* The import regenerates the UIDs.
*
* @cover ProcessMaker\BusinessModel\WebEntryEvent
*/
public function testImportProcessWithWE2WithRegenUid()
{
$proUid = $this->import(__DIR__.'/WebEntry2-multi-login.pmx', true);
$this->assertNotEmpty($proUid);
$taskCriteria = new \Criteria;
$taskCriteria->add(\TaskPeer::PRO_UID, $proUid);
$taskCriteria->add(\TaskPeer::TAS_UID, "wee-%", \Criteria::LIKE);
$task = \TaskPeer::doSelectOne($taskCriteria);
//Check steps
$criteria = new \Criteria;
$criteria->add(\StepPeer::TAS_UID, $task->getTasUid());
$criteria->addAscendingOrderByColumn(\StepPeer::STEP_POSITION);
$steps = [];
$stepWithTrigger = 1;
$uidStepWithTrigger = null;
foreach (\StepPeer::doSelect($criteria) as $index => $step) {
$steps[]=$step->getStepTypeObj();
if ($index == $stepWithTrigger) {
$uidStepWithTrigger = $step->getStepUid();
}
}
$this->assertEquals(
["DYNAFORM", "DYNAFORM", "INPUT_DOCUMENT", "OUTPUT_DOCUMENT"],
$steps
);
//Check triggers
$criteriaTri = new \Criteria;
$criteriaTri->add(\StepTriggerPeer::TAS_UID, $task->getTasUid());
$criteriaTri->add(\StepTriggerPeer::STEP_UID, $uidStepWithTrigger);
$criteriaTri->addAscendingOrderByColumn(\StepTriggerPeer::ST_POSITION);
$triggers = [];
foreach (\StepTriggerPeer::doSelect($criteriaTri) as $stepTri) {
$triggers[]=[$stepTri->getStepUid(), $stepTri->getStType()];
}
$this->assertEquals(
[[$uidStepWithTrigger, "BEFORE"]],
$triggers
);
}
/**
* @covers ProcessMaker\BusinessModel\WebEntryEvent::generateLink
* @category HOR-3210:5
*/
public function testGenerateLinkSingleDefaultAnonymous()
{
$processUid = $this->processUid;
$entryEvents = $this->object->getWebEntryEvents($processUid);
$webEntry = $this->getWebEntry($entryEvents[0]);
$link = $this->object->generateLink($processUid, $entryEvents[0]['WEE_UID']);
$this->assertEquals($this->getSimpleWebEntryUrl($webEntry), $link);
}
/**
* @covers ProcessMaker\BusinessModel\WebEntryEvent::generateLink
* @category HOR-3210:5
*/
public function testGenerateLinkMultipleAnon()
{
$processUid = $this->processUid2;
$entryEvents = $this->object->getWebEntryEvents($processUid);
$this->assertCount(1, $entryEvents,
'Expected 1 event with web entry in process WebEntry2');
$criteria = new \Criteria();
$criteria->add(\BpmnEventPeer::PRJ_UID, $processUid);
$criteria->add(\BpmnEventPeer::EVN_NAME, 'simple start');
$event = \BpmnEventPeer::doSelectOne($criteria);
$data = [
'EVN_UID' => $event->getEvnUid(),
'ACT_UID' => $entryEvents[0]['ACT_UID'],
'WE_AUTHENTICATION' => 'ANONYMOUS',
'USR_UID' => $this->adminUid,
'WE_TYPE' => 'MULTIPLE',
'WEE_TITLE' => $event->getEvnUid(),
];
$this->object->create($processUid, $this->adminUid, $data);
$entryEvents2 = $this->object->getWebEntryEvents($processUid);
foreach ($entryEvents2 as $entryEvent) {
if ($entryEvent['EVN_UID'] === $event->getEvnUid()) {
break;
}
}
$webEntry = $this->getWebEntry($entryEvent);
$link = $this->object->generateLink($processUid, $entryEvent['WEE_UID']);
$this->assertEquals($this->getSimpleWebEntryUrl($webEntry), $link);
}
/**
* @covers ProcessMaker\BusinessModel\WebEntryEvent::generateLink
* @category HOR-3210:5
*/
public function testGenerateLinkForMissingWE()
{
$processUid = $this->processUid;
$this->expectException(\Exception::class);
$this->expectExceptionMessage('ID_WEB_ENTRY_EVENT_DOES_NOT_EXIST(WEE_UID)');
$link = $this->object->generateLink($processUid, 'INVALID-UID');
}
/**
* get a dynaform
* @return type
*/
private function getADynaform($processUid = null)
{
$criteria = new \Criteria;
$criteria->add(\DynaformPeer::PRO_UID,
$processUid ? $processUid : $this->processUid);
return \DynaformPeer::doSelectOne($criteria);
}
/**
* Get a WebEntry from a WebEntryEvent array
* @param type $webEntryEvent
* @return \WebEntry
*/
private function getWebEntry($webEntryEvent)
{
$wee = \WebEntryEventPeer::retrieveByPK($webEntryEvent['WEE_UID']);
return \WebEntryPeer::retrieveByPK($wee->getWeeWeUid());
}
/**
* The default generated WebEntryUrl.
*
* @param \WebEntry $we
* @return type
*/
private function getSimpleWebEntryUrl(\WebEntry $we)
{
return (\G::is_https() ? "https://" : "http://").
$_SERVER["HTTP_HOST"]."/sys".SYS_SYS."/".
SYS_LANG."/".SYS_SKIN."/".$we->getProUid()."/".$we->getWeData();
}
/**
* Create a WebEntryEvent using some default properties.
*
* @param type $processUid
* @param type $entryEvents
* @param type $config
* @return type
*/
private function createWebEntryEvent($processUid, $entryEvents, $config)
{
$this->assertCount(1, $entryEvents,
'Expected 1 event with web entry in process WebEntry2');
$criteria = new \Criteria();
$criteria->add(\BpmnEventPeer::PRJ_UID, $processUid);
$criteria->add(\BpmnEventPeer::EVN_NAME, 'simple start');
$event = \BpmnEventPeer::doSelectOne($criteria);
$data = [
'EVN_UID' => $event->getEvnUid(),
'ACT_UID' => $entryEvents[0]['ACT_UID'],
'WEE_STATUS' => 'ENABLED',
'USR_UID' => $this->adminUid,
'WEE_TITLE' => $event->getEvnUid(),
];
foreach ($config as $key => $value) {
$data[$key] = $value;
}
$this->object->create($processUid, $this->adminUid, $data);
$entryEvents2 = $this->object->getWebEntryEvents($processUid);
foreach ($entryEvents2 as $entryEvent) {
if ($entryEvent['EVN_UID'] === $event->getEvnUid()) {
break;
}
}
$webEntry = $this->getWebEntry($entryEvent);
$this->assertCount(2, $entryEvents2, 'Expected 2 events after create');
foreach ($data as $key => $value) {
$this->assertEquals($value, $entryEvent[$key], "> $key");
}
return [$webEntry, $entryEvent];
}
/**
* Create combination rows
* @param type $combinations
* @return array
*/
private function getCombinationsFor($combinations = [])
{
$j = 1;
foreach ($combinations as $key => $values) {
$j*=count($values);
}
$rows = [];
for ($i = 0; $i < $j; $i++) {
$row = [];
$ii = $i;
foreach ($combinations as $key => $values) {
$c = count($values);
$value = $values[$ii % $c];
if (static::SKIP_VALUE !== $value) {
$row[$key] = $value;
}
$ii = floor($ii / $c);
}
$rows[] = $row;
}
return $rows;
}
}

View File

@@ -0,0 +1,802 @@
<?xml version="1.0" encoding="utf-8"?>
<ProcessMaker-Project version="3.0">
<metadata>
<meta key="vendor_version"><![CDATA[(Branch feature/HOR-3207)]]></meta>
<meta key="vendor_version_code">Michelangelo</meta>
<meta key="export_timestamp">1495111434</meta>
<meta key="export_datetime"><![CDATA[2017-05-18T12:43:54+00:00]]></meta>
<meta key="export_server_addr"><![CDATA[127.0.0.1:8080]]></meta>
<meta key="export_server_os">Darwin</meta>
<meta key="export_server_php_version">50621</meta>
<meta key="export_version">1</meta>
<meta key="workspace">hor3207a</meta>
<meta key="name">WebEntryEvent</meta>
<meta key="uid">441299927591d969ff284b7005303758</meta>
</metadata>
<definition class="BPMN">
<table name="ACTIVITY">
<record>
<act_uid>382310413591d96b6cb34d7077964801</act_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<pro_uid>684563509591d96a01cbab3088210120</pro_uid>
<act_name>Task 1</act_name>
<act_type>TASK</act_type>
<act_is_for_compensation>0</act_is_for_compensation>
<act_start_quantity>1</act_start_quantity>
<act_completion_quantity>0</act_completion_quantity>
<act_task_type>EMPTY</act_task_type>
<act_implementation></act_implementation>
<act_instantiate>0</act_instantiate>
<act_script_type></act_script_type>
<act_script></act_script>
<act_loop_type>EMPTY</act_loop_type>
<act_test_before>0</act_test_before>
<act_loop_maximum>0</act_loop_maximum>
<act_loop_condition>0</act_loop_condition>
<act_loop_cardinality>0</act_loop_cardinality>
<act_loop_behavior>0</act_loop_behavior>
<act_is_adhoc>0</act_is_adhoc>
<act_is_collapsed>0</act_is_collapsed>
<act_completion_condition>0</act_completion_condition>
<act_ordering>0</act_ordering>
<act_cancel_remaining_instances>1</act_cancel_remaining_instances>
<act_protocol>0</act_protocol>
<act_method>0</act_method>
<act_is_global>0</act_is_global>
<act_referer>0</act_referer>
<act_default_flow>0</act_default_flow>
<act_master_diagram>0</act_master_diagram>
<bou_uid>635529260591d96b6cbfcb7051450866</bou_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<element_uid>382310413591d96b6cb34d7077964801</element_uid>
<bou_element>891718728591d96a426dd25018705242</bou_element>
<bou_element_type>bpmnActivity</bou_element_type>
<bou_x>256</bou_x>
<bou_y>79</bou_y>
<bou_width>150</bou_width>
<bou_height>75</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="ARTIFACT"/>
<table name="BOUND">
<record>
<bou_uid>214544408591d96f0071200088162965</bou_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<element_uid>754852677591d96f0066c53097043776</element_uid>
<bou_element>891718728591d96a426dd25018705242</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>100</bou_x>
<bou_y>213</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>635529260591d96b6cbfcb7051450866</bou_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<element_uid>382310413591d96b6cb34d7077964801</element_uid>
<bou_element>891718728591d96a426dd25018705242</bou_element>
<bou_element_type>bpmnActivity</bou_element_type>
<bou_x>256</bou_x>
<bou_y>79</bou_y>
<bou_width>150</bou_width>
<bou_height>75</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>735358742591d96b70622c8075629514</bou_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<element_uid>349681056591d96b7059a07092140602</element_uid>
<bou_element>891718728591d96a426dd25018705242</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>100</bou_x>
<bou_y>100</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>908599339591d96b70910b0020050417</bou_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<element_uid>132598392591d96b7084aa6048071487</element_uid>
<bou_element>891718728591d96a426dd25018705242</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>545</bou_x>
<bou_y>100</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="DATA"/>
<table name="DIAGRAM">
<record>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_name>WebEntryEvent</dia_name>
<dia_is_closable>0</dia_is_closable>
</record>
</table>
<table name="DOCUMENTATION"/>
<table name="EVENT">
<record>
<evn_uid>754852677591d96f0066c53097043776</evn_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<pro_uid>684563509591d96a01cbab3088210120</pro_uid>
<evn_name></evn_name>
<evn_type>START</evn_type>
<evn_marker>EMPTY</evn_marker>
<evn_is_interrupting>1</evn_is_interrupting>
<evn_attached_to></evn_attached_to>
<evn_cancel_activity>0</evn_cancel_activity>
<evn_activity_ref></evn_activity_ref>
<evn_wait_for_completion>0</evn_wait_for_completion>
<evn_error_name></evn_error_name>
<evn_error_code></evn_error_code>
<evn_escalation_name></evn_escalation_name>
<evn_escalation_code></evn_escalation_code>
<evn_condition></evn_condition>
<evn_message>LEAD</evn_message>
<evn_operation_name></evn_operation_name>
<evn_operation_implementation_ref></evn_operation_implementation_ref>
<evn_time_date></evn_time_date>
<evn_time_cycle></evn_time_cycle>
<evn_time_duration></evn_time_duration>
<evn_behavior>CATCH</evn_behavior>
<bou_uid>214544408591d96f0071200088162965</bou_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<element_uid>754852677591d96f0066c53097043776</element_uid>
<bou_element>891718728591d96a426dd25018705242</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>100</bou_x>
<bou_y>213</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<evn_uid>349681056591d96b7059a07092140602</evn_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<pro_uid>684563509591d96a01cbab3088210120</pro_uid>
<evn_name>first</evn_name>
<evn_type>START</evn_type>
<evn_marker>EMPTY</evn_marker>
<evn_is_interrupting>1</evn_is_interrupting>
<evn_attached_to></evn_attached_to>
<evn_cancel_activity>0</evn_cancel_activity>
<evn_activity_ref></evn_activity_ref>
<evn_wait_for_completion>0</evn_wait_for_completion>
<evn_error_name></evn_error_name>
<evn_error_code></evn_error_code>
<evn_escalation_name></evn_escalation_name>
<evn_escalation_code></evn_escalation_code>
<evn_condition></evn_condition>
<evn_message>LEAD</evn_message>
<evn_operation_name></evn_operation_name>
<evn_operation_implementation_ref></evn_operation_implementation_ref>
<evn_time_date></evn_time_date>
<evn_time_cycle></evn_time_cycle>
<evn_time_duration></evn_time_duration>
<evn_behavior>CATCH</evn_behavior>
<bou_uid>735358742591d96b70622c8075629514</bou_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<element_uid>349681056591d96b7059a07092140602</element_uid>
<bou_element>891718728591d96a426dd25018705242</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>100</bou_x>
<bou_y>100</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<evn_uid>132598392591d96b7084aa6048071487</evn_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<pro_uid>684563509591d96a01cbab3088210120</pro_uid>
<evn_name></evn_name>
<evn_type>END</evn_type>
<evn_marker>EMPTY</evn_marker>
<evn_is_interrupting>1</evn_is_interrupting>
<evn_attached_to></evn_attached_to>
<evn_cancel_activity>0</evn_cancel_activity>
<evn_activity_ref></evn_activity_ref>
<evn_wait_for_completion>0</evn_wait_for_completion>
<evn_error_name></evn_error_name>
<evn_error_code></evn_error_code>
<evn_escalation_name></evn_escalation_name>
<evn_escalation_code></evn_escalation_code>
<evn_condition></evn_condition>
<evn_message></evn_message>
<evn_operation_name></evn_operation_name>
<evn_operation_implementation_ref></evn_operation_implementation_ref>
<evn_time_date></evn_time_date>
<evn_time_cycle></evn_time_cycle>
<evn_time_duration></evn_time_duration>
<evn_behavior>THROW</evn_behavior>
<bou_uid>908599339591d96b70910b0020050417</bou_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<element_uid>132598392591d96b7084aa6048071487</element_uid>
<bou_element>891718728591d96a426dd25018705242</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>545</bou_x>
<bou_y>100</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="EXTENSION"/>
<table name="FLOW">
<record>
<flo_uid>714921265591d96f01e21a0012216876</flo_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<flo_type>SEQUENCE</flo_type>
<flo_name> </flo_name>
<flo_element_origin>754852677591d96f0066c53097043776</flo_element_origin>
<flo_element_origin_type>bpmnEvent</flo_element_origin_type>
<flo_element_origin_port>0</flo_element_origin_port>
<flo_element_dest>382310413591d96b6cb34d7077964801</flo_element_dest>
<flo_element_dest_type>bpmnActivity</flo_element_dest_type>
<flo_element_dest_port>0</flo_element_dest_port>
<flo_is_inmediate>1</flo_is_inmediate>
<flo_condition></flo_condition>
<flo_x1>133</flo_x1>
<flo_y1>230</flo_y1>
<flo_x2>332</flo_x2>
<flo_y2>154</flo_y2>
<flo_state><![CDATA[[{"x":133,"y":230},{"x":332,"y":230},{"x":332,"y":154}]]]></flo_state>
<flo_position>1</flo_position>
</record>
<record>
<flo_uid>755827041591d96b7215314058494878</flo_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<flo_type>SEQUENCE</flo_type>
<flo_name> </flo_name>
<flo_element_origin>349681056591d96b7059a07092140602</flo_element_origin>
<flo_element_origin_type>bpmnEvent</flo_element_origin_type>
<flo_element_origin_port>0</flo_element_origin_port>
<flo_element_dest>382310413591d96b6cb34d7077964801</flo_element_dest>
<flo_element_dest_type>bpmnActivity</flo_element_dest_type>
<flo_element_dest_port>0</flo_element_dest_port>
<flo_is_inmediate>1</flo_is_inmediate>
<flo_condition></flo_condition>
<flo_x1>133</flo_x1>
<flo_y1>117</flo_y1>
<flo_x2>256</flo_x2>
<flo_y2>117</flo_y2>
<flo_state><![CDATA[[{"x":133,"y":117},{"x":256,"y":117}]]]></flo_state>
<flo_position>1</flo_position>
</record>
<record>
<flo_uid>957678631591d96b7217c76024693278</flo_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<flo_type>SEQUENCE</flo_type>
<flo_name> </flo_name>
<flo_element_origin>382310413591d96b6cb34d7077964801</flo_element_origin>
<flo_element_origin_type>bpmnActivity</flo_element_origin_type>
<flo_element_origin_port>0</flo_element_origin_port>
<flo_element_dest>132598392591d96b7084aa6048071487</flo_element_dest>
<flo_element_dest_type>bpmnEvent</flo_element_dest_type>
<flo_element_dest_port>0</flo_element_dest_port>
<flo_is_inmediate>1</flo_is_inmediate>
<flo_condition></flo_condition>
<flo_x1>407</flo_x1>
<flo_y1>117</flo_y1>
<flo_x2>545</flo_x2>
<flo_y2>117</flo_y2>
<flo_state><![CDATA[[{"x":407,"y":117},{"x":545,"y":117}]]]></flo_state>
<flo_position>1</flo_position>
</record>
</table>
<table name="GATEWAY"/>
<table name="LANE"/>
<table name="LANESET"/>
<table name="PARTICIPANT"/>
<table name="PROCESS">
<record>
<pro_uid>684563509591d96a01cbab3088210120</pro_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<dia_uid>358612266591d96a014d1e6034604444</dia_uid>
<pro_name>WebEntryEvent</pro_name>
<pro_type>NONE</pro_type>
<pro_is_executable>0</pro_is_executable>
<pro_is_closed>0</pro_is_closed>
<pro_is_subprocess>0</pro_is_subprocess>
</record>
</table>
<table name="PROJECT">
<record>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<prj_name>WebEntryEvent</prj_name>
<prj_description></prj_description>
<prj_target_namespace></prj_target_namespace>
<prj_expresion_language></prj_expresion_language>
<prj_type_language></prj_type_language>
<prj_exporter></prj_exporter>
<prj_exporter_version></prj_exporter_version>
<prj_create_date><![CDATA[2017-05-18 12:42:08]]></prj_create_date>
<prj_update_date><![CDATA[2017-05-18 12:43:27]]></prj_update_date>
<prj_author>00000000000000000000000000000001</prj_author>
<prj_author_version></prj_author_version>
<prj_original_source></prj_original_source>
</record>
</table>
</definition>
<definition class="workflow">
<table name="process">
<record>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<pro_title>WebEntryEvent</pro_title>
<pro_description></pro_description>
<pro_parent>441299927591d969ff284b7005303758</pro_parent>
<pro_time>1</pro_time>
<pro_timeunit>DAYS</pro_timeunit>
<pro_status>ACTIVE</pro_status>
<pro_type_day></pro_type_day>
<pro_type>NORMAL</pro_type>
<pro_assignment>FALSE</pro_assignment>
<pro_show_map>0</pro_show_map>
<pro_show_message>0</pro_show_message>
<pro_subprocess>0</pro_subprocess>
<pro_tri_create></pro_tri_create>
<pro_tri_open></pro_tri_open>
<pro_tri_deleted></pro_tri_deleted>
<pro_tri_canceled></pro_tri_canceled>
<pro_tri_paused></pro_tri_paused>
<pro_tri_reassigned></pro_tri_reassigned>
<pro_tri_unpaused></pro_tri_unpaused>
<pro_type_process>PUBLIC</pro_type_process>
<pro_show_delegate>0</pro_show_delegate>
<pro_show_dynaform>0</pro_show_dynaform>
<pro_category></pro_category>
<pro_sub_category></pro_sub_category>
<pro_industry>0</pro_industry>
<pro_update_date><![CDATA[2017-05-18 12:43:27]]></pro_update_date>
<pro_create_date><![CDATA[2017-05-18 12:42:08]]></pro_create_date>
<pro_create_user>00000000000000000000000000000001</pro_create_user>
<pro_height>5000</pro_height>
<pro_width>10000</pro_width>
<pro_title_x>0</pro_title_x>
<pro_title_y>0</pro_title_y>
<pro_debug>0</pro_debug>
<pro_dynaforms></pro_dynaforms>
<pro_derivation_screen_tpl></pro_derivation_screen_tpl>
<pro_cost>0</pro_cost>
<pro_unit_cost></pro_unit_cost>
<pro_itee>1</pro_itee>
<pro_action_done><![CDATA[a:1:{i:0;s:41:"GATEWAYTOGATEWAY_DELETE_CORRUPTED_RECORDS";}]]></pro_action_done>
<pro_category_label>No Category</pro_category_label>
<pro_bpmn>1</pro_bpmn>
</record>
</table>
<table name="tasks">
<record>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<tas_uid>382310413591d96b6cb34d7077964801</tas_uid>
<tas_title>Task 1</tas_title>
<tas_description></tas_description>
<tas_def_title></tas_def_title>
<tas_def_subject_message></tas_def_subject_message>
<tas_def_proc_code></tas_def_proc_code>
<tas_def_message></tas_def_message>
<tas_def_description></tas_def_description>
<tas_type>NORMAL</tas_type>
<tas_duration>1</tas_duration>
<tas_delay_type></tas_delay_type>
<tas_temporizer>0</tas_temporizer>
<tas_type_day></tas_type_day>
<tas_timeunit>DAYS</tas_timeunit>
<tas_alert>FALSE</tas_alert>
<tas_priority_variable></tas_priority_variable>
<tas_assign_type>BALANCED</tas_assign_type>
<tas_assign_variable><![CDATA[@@SYS_NEXT_USER_TO_BE_ASSIGNED]]></tas_assign_variable>
<tas_group_variable></tas_group_variable>
<tas_mi_instance_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCE]]></tas_mi_instance_variable>
<tas_mi_complete_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCES_COMPLETE]]></tas_mi_complete_variable>
<tas_assign_location>FALSE</tas_assign_location>
<tas_assign_location_adhoc>FALSE</tas_assign_location_adhoc>
<tas_transfer_fly>FALSE</tas_transfer_fly>
<tas_last_assigned>0</tas_last_assigned>
<tas_user>0</tas_user>
<tas_can_upload>FALSE</tas_can_upload>
<tas_view_upload>FALSE</tas_view_upload>
<tas_view_additional_documentation>FALSE</tas_view_additional_documentation>
<tas_can_cancel>FALSE</tas_can_cancel>
<tas_owner_app>FALSE</tas_owner_app>
<stg_uid></stg_uid>
<tas_can_pause>FALSE</tas_can_pause>
<tas_can_send_message>TRUE</tas_can_send_message>
<tas_can_delete_docs>FALSE</tas_can_delete_docs>
<tas_self_service>FALSE</tas_self_service>
<tas_start>TRUE</tas_start>
<tas_to_last_user>FALSE</tas_to_last_user>
<tas_send_last_email>FALSE</tas_send_last_email>
<tas_derivation>NORMAL</tas_derivation>
<tas_posx>256</tas_posx>
<tas_posy>79</tas_posy>
<tas_width>110</tas_width>
<tas_height>60</tas_height>
<tas_color></tas_color>
<tas_evn_uid></tas_evn_uid>
<tas_boundary></tas_boundary>
<tas_derivation_screen_tpl></tas_derivation_screen_tpl>
<tas_selfservice_timeout>0</tas_selfservice_timeout>
<tas_selfservice_time>0</tas_selfservice_time>
<tas_selfservice_time_unit></tas_selfservice_time_unit>
<tas_selfservice_trigger_uid></tas_selfservice_trigger_uid>
<tas_selfservice_execution>EVERY_TIME</tas_selfservice_execution>
<tas_not_email_from_format>0</tas_not_email_from_format>
<tas_offline>FALSE</tas_offline>
<tas_email_server_uid></tas_email_server_uid>
<tas_auto_root>FALSE</tas_auto_root>
<tas_receive_server_uid></tas_receive_server_uid>
<tas_receive_last_email>FALSE</tas_receive_last_email>
<tas_receive_email_from_format>0</tas_receive_email_from_format>
<tas_receive_message_type>text</tas_receive_message_type>
<tas_receive_message_template>alert_message.html</tas_receive_message_template>
<tas_receive_subject_message></tas_receive_subject_message>
<tas_receive_message></tas_receive_message>
<tas_average></tas_average>
<tas_sdv></tas_sdv>
</record>
<record>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<tas_uid>wee-54929591d96cebdc838076843684</tas_uid>
<tas_title>WEBENTRYEVENT</tas_title>
<tas_description></tas_description>
<tas_def_title></tas_def_title>
<tas_def_subject_message></tas_def_subject_message>
<tas_def_proc_code></tas_def_proc_code>
<tas_def_message></tas_def_message>
<tas_def_description></tas_def_description>
<tas_type>WEBENTRYEVENT</tas_type>
<tas_duration>1</tas_duration>
<tas_delay_type></tas_delay_type>
<tas_temporizer>0</tas_temporizer>
<tas_type_day></tas_type_day>
<tas_timeunit>DAYS</tas_timeunit>
<tas_alert>FALSE</tas_alert>
<tas_priority_variable></tas_priority_variable>
<tas_assign_type>BALANCED</tas_assign_type>
<tas_assign_variable><![CDATA[@@SYS_NEXT_USER_TO_BE_ASSIGNED]]></tas_assign_variable>
<tas_group_variable></tas_group_variable>
<tas_mi_instance_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCE]]></tas_mi_instance_variable>
<tas_mi_complete_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCES_COMPLETE]]></tas_mi_complete_variable>
<tas_assign_location>FALSE</tas_assign_location>
<tas_assign_location_adhoc>FALSE</tas_assign_location_adhoc>
<tas_transfer_fly>FALSE</tas_transfer_fly>
<tas_last_assigned>0</tas_last_assigned>
<tas_user>0</tas_user>
<tas_can_upload>FALSE</tas_can_upload>
<tas_view_upload>FALSE</tas_view_upload>
<tas_view_additional_documentation>FALSE</tas_view_additional_documentation>
<tas_can_cancel>FALSE</tas_can_cancel>
<tas_owner_app>FALSE</tas_owner_app>
<stg_uid></stg_uid>
<tas_can_pause>FALSE</tas_can_pause>
<tas_can_send_message>TRUE</tas_can_send_message>
<tas_can_delete_docs>FALSE</tas_can_delete_docs>
<tas_self_service>FALSE</tas_self_service>
<tas_start>TRUE</tas_start>
<tas_to_last_user>FALSE</tas_to_last_user>
<tas_send_last_email>FALSE</tas_send_last_email>
<tas_derivation>NORMAL</tas_derivation>
<tas_posx>100</tas_posx>
<tas_posy>100</tas_posy>
<tas_width>110</tas_width>
<tas_height>60</tas_height>
<tas_color></tas_color>
<tas_evn_uid></tas_evn_uid>
<tas_boundary></tas_boundary>
<tas_derivation_screen_tpl></tas_derivation_screen_tpl>
<tas_selfservice_timeout>0</tas_selfservice_timeout>
<tas_selfservice_time>0</tas_selfservice_time>
<tas_selfservice_time_unit></tas_selfservice_time_unit>
<tas_selfservice_trigger_uid></tas_selfservice_trigger_uid>
<tas_selfservice_execution>EVERY_TIME</tas_selfservice_execution>
<tas_not_email_from_format>0</tas_not_email_from_format>
<tas_offline>FALSE</tas_offline>
<tas_email_server_uid></tas_email_server_uid>
<tas_auto_root>FALSE</tas_auto_root>
<tas_receive_server_uid></tas_receive_server_uid>
<tas_receive_last_email>FALSE</tas_receive_last_email>
<tas_receive_email_from_format>0</tas_receive_email_from_format>
<tas_receive_message_type>text</tas_receive_message_type>
<tas_receive_message_template>alert_message.html</tas_receive_message_template>
<tas_receive_subject_message></tas_receive_subject_message>
<tas_receive_message></tas_receive_message>
<tas_average></tas_average>
<tas_sdv></tas_sdv>
</record>
<record>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<tas_uid>wee-64523591d96fc408bb5096940569</tas_uid>
<tas_title>WEBENTRYEVENT</tas_title>
<tas_description></tas_description>
<tas_def_title></tas_def_title>
<tas_def_subject_message></tas_def_subject_message>
<tas_def_proc_code></tas_def_proc_code>
<tas_def_message></tas_def_message>
<tas_def_description></tas_def_description>
<tas_type>WEBENTRYEVENT</tas_type>
<tas_duration>1</tas_duration>
<tas_delay_type></tas_delay_type>
<tas_temporizer>0</tas_temporizer>
<tas_type_day></tas_type_day>
<tas_timeunit>DAYS</tas_timeunit>
<tas_alert>FALSE</tas_alert>
<tas_priority_variable></tas_priority_variable>
<tas_assign_type>BALANCED</tas_assign_type>
<tas_assign_variable><![CDATA[@@SYS_NEXT_USER_TO_BE_ASSIGNED]]></tas_assign_variable>
<tas_group_variable></tas_group_variable>
<tas_mi_instance_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCE]]></tas_mi_instance_variable>
<tas_mi_complete_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCES_COMPLETE]]></tas_mi_complete_variable>
<tas_assign_location>FALSE</tas_assign_location>
<tas_assign_location_adhoc>FALSE</tas_assign_location_adhoc>
<tas_transfer_fly>FALSE</tas_transfer_fly>
<tas_last_assigned>0</tas_last_assigned>
<tas_user>0</tas_user>
<tas_can_upload>FALSE</tas_can_upload>
<tas_view_upload>FALSE</tas_view_upload>
<tas_view_additional_documentation>FALSE</tas_view_additional_documentation>
<tas_can_cancel>FALSE</tas_can_cancel>
<tas_owner_app>FALSE</tas_owner_app>
<stg_uid></stg_uid>
<tas_can_pause>FALSE</tas_can_pause>
<tas_can_send_message>TRUE</tas_can_send_message>
<tas_can_delete_docs>FALSE</tas_can_delete_docs>
<tas_self_service>FALSE</tas_self_service>
<tas_start>TRUE</tas_start>
<tas_to_last_user>FALSE</tas_to_last_user>
<tas_send_last_email>FALSE</tas_send_last_email>
<tas_derivation>NORMAL</tas_derivation>
<tas_posx>100</tas_posx>
<tas_posy>213</tas_posy>
<tas_width>110</tas_width>
<tas_height>60</tas_height>
<tas_color></tas_color>
<tas_evn_uid></tas_evn_uid>
<tas_boundary></tas_boundary>
<tas_derivation_screen_tpl></tas_derivation_screen_tpl>
<tas_selfservice_timeout>0</tas_selfservice_timeout>
<tas_selfservice_time>0</tas_selfservice_time>
<tas_selfservice_time_unit></tas_selfservice_time_unit>
<tas_selfservice_trigger_uid></tas_selfservice_trigger_uid>
<tas_selfservice_execution>EVERY_TIME</tas_selfservice_execution>
<tas_not_email_from_format>0</tas_not_email_from_format>
<tas_offline>FALSE</tas_offline>
<tas_email_server_uid></tas_email_server_uid>
<tas_auto_root>FALSE</tas_auto_root>
<tas_receive_server_uid></tas_receive_server_uid>
<tas_receive_last_email>FALSE</tas_receive_last_email>
<tas_receive_email_from_format>0</tas_receive_email_from_format>
<tas_receive_message_type>text</tas_receive_message_type>
<tas_receive_message_template>alert_message.html</tas_receive_message_template>
<tas_receive_subject_message></tas_receive_subject_message>
<tas_receive_message></tas_receive_message>
<tas_average></tas_average>
<tas_sdv></tas_sdv>
</record>
</table>
<table name="routes">
<record>
<rou_uid>184293535591d96f02bc533028984423</rou_uid>
<rou_parent>0</rou_parent>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<tas_uid>382310413591d96b6cb34d7077964801</tas_uid>
<rou_next_task>-1</rou_next_task>
<rou_case>1</rou_case>
<rou_type>SEQUENTIAL</rou_type>
<rou_default>0</rou_default>
<rou_condition></rou_condition>
<rou_to_last_user>FALSE</rou_to_last_user>
<rou_optional>FALSE</rou_optional>
<rou_send_email>TRUE</rou_send_email>
<rou_sourceanchor>1</rou_sourceanchor>
<rou_targetanchor>0</rou_targetanchor>
<rou_to_port>1</rou_to_port>
<rou_from_port>2</rou_from_port>
<rou_evn_uid></rou_evn_uid>
<gat_uid></gat_uid>
</record>
<record>
<rou_uid>674628874591d96fc547a04006969081</rou_uid>
<rou_parent>0</rou_parent>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<tas_uid>wee-64523591d96fc408bb5096940569</tas_uid>
<rou_next_task>382310413591d96b6cb34d7077964801</rou_next_task>
<rou_case>1</rou_case>
<rou_type>SEQUENTIAL</rou_type>
<rou_default>0</rou_default>
<rou_condition></rou_condition>
<rou_to_last_user>FALSE</rou_to_last_user>
<rou_optional>FALSE</rou_optional>
<rou_send_email>TRUE</rou_send_email>
<rou_sourceanchor>1</rou_sourceanchor>
<rou_targetanchor>0</rou_targetanchor>
<rou_to_port>1</rou_to_port>
<rou_from_port>2</rou_from_port>
<rou_evn_uid></rou_evn_uid>
<gat_uid></gat_uid>
</record>
<record>
<rou_uid>777329623591d96f04965b8071665220</rou_uid>
<rou_parent>0</rou_parent>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<tas_uid>wee-54929591d96cebdc838076843684</tas_uid>
<rou_next_task>382310413591d96b6cb34d7077964801</rou_next_task>
<rou_case>1</rou_case>
<rou_type>SEQUENTIAL</rou_type>
<rou_default>0</rou_default>
<rou_condition></rou_condition>
<rou_to_last_user>FALSE</rou_to_last_user>
<rou_optional>FALSE</rou_optional>
<rou_send_email>TRUE</rou_send_email>
<rou_sourceanchor>1</rou_sourceanchor>
<rou_targetanchor>0</rou_targetanchor>
<rou_to_port>1</rou_to_port>
<rou_from_port>2</rou_from_port>
<rou_evn_uid></rou_evn_uid>
<gat_uid></gat_uid>
</record>
</table>
<table name="lanes"/>
<table name="gateways"/>
<table name="inputs"/>
<table name="outputs"/>
<table name="dynaforms">
<record>
<dyn_uid>361249164591d96e6edcb81084086222</dyn_uid>
<dyn_title>Form2</dyn_title>
<dyn_description></dyn_description>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<dyn_type>xmlform</dyn_type>
<dyn_filename><![CDATA[441299927591d969ff284b7005303758/361249164591d96e6edcb81084086222]]></dyn_filename>
<dyn_content><![CDATA[{"name":"Form2","description":"","items":[{"type":"form","variable":"","var_uid":"","dataType":"","id":"361249164591d96e6edcb81084086222","name":"Form2","description":"","mode":"edit","script":"","language":"en","externalLibs":"","printable":false,"items":[],"variables":[]}]}]]></dyn_content>
<dyn_label></dyn_label>
<dyn_version>2</dyn_version>
<dyn_update_date><![CDATA[2017-05-18 12:43:18]]></dyn_update_date>
</record>
<record>
<dyn_uid>839383145591d96c1331811037017265</dyn_uid>
<dyn_title>Form1</dyn_title>
<dyn_description></dyn_description>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<dyn_type>xmlform</dyn_type>
<dyn_filename><![CDATA[441299927591d969ff284b7005303758/839383145591d96c1331811037017265]]></dyn_filename>
<dyn_content><![CDATA[{"name":"Form1","description":"","items":[{"type":"form","variable":"","var_uid":"","dataType":"","id":"839383145591d96c1331811037017265","name":"Form1","description":"","mode":"edit","script":"","language":"en","externalLibs":"","printable":false,"items":[],"variables":[]}]}]]></dyn_content>
<dyn_label></dyn_label>
<dyn_version>2</dyn_version>
<dyn_update_date><![CDATA[2017-05-18 12:42:41]]></dyn_update_date>
</record>
</table>
<table name="steps">
<record>
<step_uid>184891718591d96fc460179075100311</step_uid>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<tas_uid>wee-64523591d96fc408bb5096940569</tas_uid>
<step_type_obj>DYNAFORM</step_type_obj>
<step_uid_obj>361249164591d96e6edcb81084086222</step_uid_obj>
<step_condition></step_condition>
<step_position>1</step_position>
<step_mode>EDIT</step_mode>
</record>
<record>
<step_uid>593687534591d96ceca0ba3047943309</step_uid>
<pro_uid>441299927591d969ff284b7005303758</pro_uid>
<tas_uid>wee-54929591d96cebdc838076843684</tas_uid>
<step_type_obj>DYNAFORM</step_type_obj>
<step_uid_obj>839383145591d96c1331811037017265</step_uid_obj>
<step_condition></step_condition>
<step_position>1</step_position>
<step_mode>EDIT</step_mode>
</record>
</table>
<table name="triggers"/>
<table name="taskusers"/>
<table name="groupwfs"/>
<table name="steptriggers"/>
<table name="dbconnections"/>
<table name="reportTables"/>
<table name="reportTablesVars"/>
<table name="stepSupervisor"/>
<table name="objectPermissions"/>
<table name="subProcess"/>
<table name="caseTracker"/>
<table name="caseTrackerObject"/>
<table name="stage"/>
<table name="fieldCondition"/>
<table name="event"/>
<table name="caseScheduler"/>
<table name="processCategory"/>
<table name="taskExtraProperties"/>
<table name="processUser"/>
<table name="processVariables"/>
<table name="webEntry"/>
<table name="webEntryEvent">
<record>
<wee_uid>738419055591d96cf2b41c2097553491</wee_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<evn_uid>349681056591d96b7059a07092140602</evn_uid>
<act_uid>382310413591d96b6cb34d7077964801</act_uid>
<dyn_uid>839383145591d96c1331811037017265</dyn_uid>
<usr_uid>00000000000000000000000000000001</usr_uid>
<wee_title>349681056591d96b7059a07092140602</wee_title>
<wee_description></wee_description>
<wee_status>ENABLED</wee_status>
<wee_we_uid>601692046591d96cf02f3c6044834198</wee_we_uid>
<wee_we_tas_uid>wee-54929591d96cebdc838076843684</wee_we_tas_uid>
<wee_we_url>349681056591d96b7059a07092140602.php</wee_we_url>
</record>
<record>
<wee_uid>994230525591d96fc6eb5c3089474099</wee_uid>
<prj_uid>441299927591d969ff284b7005303758</prj_uid>
<evn_uid>754852677591d96f0066c53097043776</evn_uid>
<act_uid>382310413591d96b6cb34d7077964801</act_uid>
<dyn_uid>361249164591d96e6edcb81084086222</dyn_uid>
<usr_uid>00000000000000000000000000000001</usr_uid>
<wee_title>754852677591d96f0066c53097043776</wee_title>
<wee_description></wee_description>
<wee_status>ENABLED</wee_status>
<wee_we_uid>628282652591d96fc61ddc3005225961</wee_we_uid>
<wee_we_tas_uid>wee-64523591d96fc408bb5096940569</wee_we_tas_uid>
<wee_we_url>754852677591d96f0066c53097043776.php</wee_we_url>
</record>
</table>
<table name="messageType"/>
<table name="messageTypeVariable"/>
<table name="messageEventDefinition"/>
<table name="scriptTask"/>
<table name="timerEvent"/>
<table name="emailEvent"/>
<table name="filesManager"/>
<table name="abeConfiguration"/>
<table name="elementTask"/>
</definition>
<workflow-files>
<file target="dynaforms">
<file_name>Form2</file_name>
<file_path><![CDATA[441299927591d969ff284b7005303758/361249164591d96e6edcb81084086222.xml]]></file_path>
<file_content><![CDATA[PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGR5bmFGb3JtIHR5cGU9InhtbGZvcm0iIG5hbWU9IjQ0MTI5OTkyNzU5MWQ5NjlmZjI4NGI3MDA1MzAzNzU4LzM2MTI0OTE2NDU5MWQ5NmU2ZWRjYjgxMDg0MDg2MjIyIiB3aWR0aD0iNTAwIiBlbmFibGV0ZW1wbGF0ZT0iMCIgbW9kZT0iIiBuZXh0c3RlcHNhdmU9InByb21wdCI+CjwvZHluYUZvcm0+]]></file_content>
</file>
<file target="dynaforms">
<file_name>Form1</file_name>
<file_path><![CDATA[441299927591d969ff284b7005303758/839383145591d96c1331811037017265.xml]]></file_path>
<file_content><![CDATA[PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGR5bmFGb3JtIHR5cGU9InhtbGZvcm0iIG5hbWU9IjQ0MTI5OTkyNzU5MWQ5NjlmZjI4NGI3MDA1MzAzNzU4LzgzOTM4MzE0NTU5MWQ5NmMxMzMxODExMDM3MDE3MjY1IiB3aWR0aD0iNTAwIiBlbmFibGV0ZW1wbGF0ZT0iMCIgbW9kZT0iIiBuZXh0c3RlcHNhdmU9InByb21wdCI+CjwvZHluYUZvcm0+]]></file_content>
</file>
<file target="public">
<file_name>349681056591d96b7059a07092140602Info.php</file_name>
<file_path><![CDATA[441299927591d969ff284b7005303758/349681056591d96b7059a07092140602Info.php]]></file_path>
<file_content><![CDATA[PD9waHAKCiRHX1BVQkxJU0ggPSBuZXcgUHVibGlzaGVyKCk7CiRzaG93ID0gImxvZ2luL3Nob3dNZXNzYWdlIjsKJG1lc3NhZ2UgPSAiIjsKaWYgKGlzc2V0KCRfU0VTU0lPTlsiX193ZWJFbnRyeVN1Y2Nlc3NfXyJdKSkgewogICAgJHNob3cgPSAibG9naW4vc2hvd0luZm8iOwogICAgJG1lc3NhZ2UgPSAkX1NFU1NJT05bIl9fd2ViRW50cnlTdWNjZXNzX18iXTsKfSBlbHNlIHsKICAgICRzaG93ID0gImxvZ2luL3Nob3dNZXNzYWdlIjsKICAgICRtZXNzYWdlID0gJF9TRVNTSU9OWyJfX3dlYkVudHJ5RXJyb3JfXyJdOwp9CiRHX1BVQkxJU0gtPkFkZENvbnRlbnQoInhtbGZvcm0iLCAieG1sZm9ybSIsICRzaG93LCAiIiwgJG1lc3NhZ2UpOwpHOjpSZW5kZXJQYWdlKCJwdWJsaXNoIiwgImJsYW5rIik7Cgo=]]></file_content>
</file>
<file target="public">
<file_name>754852677591d96f0066c53097043776Info.php</file_name>
<file_path><![CDATA[441299927591d969ff284b7005303758/754852677591d96f0066c53097043776Info.php]]></file_path>
<file_content><![CDATA[PD9waHAKCiRHX1BVQkxJU0ggPSBuZXcgUHVibGlzaGVyKCk7CiRzaG93ID0gImxvZ2luL3Nob3dNZXNzYWdlIjsKJG1lc3NhZ2UgPSAiIjsKaWYgKGlzc2V0KCRfU0VTU0lPTlsiX193ZWJFbnRyeVN1Y2Nlc3NfXyJdKSkgewogICAgJHNob3cgPSAibG9naW4vc2hvd0luZm8iOwogICAgJG1lc3NhZ2UgPSAkX1NFU1NJT05bIl9fd2ViRW50cnlTdWNjZXNzX18iXTsKfSBlbHNlIHsKICAgICRzaG93ID0gImxvZ2luL3Nob3dNZXNzYWdlIjsKICAgICRtZXNzYWdlID0gJF9TRVNTSU9OWyJfX3dlYkVudHJ5RXJyb3JfXyJdOwp9CiRHX1BVQkxJU0gtPkFkZENvbnRlbnQoInhtbGZvcm0iLCAieG1sZm9ybSIsICRzaG93LCAiIiwgJG1lc3NhZ2UpOwpHOjpSZW5kZXJQYWdlKCJwdWJsaXNoIiwgImJsYW5rIik7Cgo=]]></file_content>
</file>
</workflow-files>
</ProcessMaker-Project>

View File

@@ -0,0 +1,667 @@
<?xml version="1.0" encoding="utf-8"?>
<ProcessMaker-Project version="3.0">
<metadata>
<meta key="vendor_version"><![CDATA[(Branch feature/HOR-3207)]]></meta>
<meta key="vendor_version_code">Michelangelo</meta>
<meta key="export_timestamp">1495125086</meta>
<meta key="export_datetime"><![CDATA[2017-05-18T16:31:26+00:00]]></meta>
<meta key="export_server_addr"><![CDATA[127.0.0.1:8080]]></meta>
<meta key="export_server_os">Darwin</meta>
<meta key="export_server_php_version">50621</meta>
<meta key="export_version">2</meta>
<meta key="workspace">hor3207a</meta>
<meta key="name">WebEntryEvent2</meta>
<meta key="uid">764314601591da882ee7360035898228</meta>
</metadata>
<definition class="BPMN">
<table name="ACTIVITY">
<record>
<act_uid>699674969591da8ad2c8e29094085586</act_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<pro_uid>827725863591da88311f126098111677</pro_uid>
<act_name>Task 1</act_name>
<act_type>TASK</act_type>
<act_is_for_compensation>0</act_is_for_compensation>
<act_start_quantity>1</act_start_quantity>
<act_completion_quantity>0</act_completion_quantity>
<act_task_type>EMPTY</act_task_type>
<act_implementation></act_implementation>
<act_instantiate>0</act_instantiate>
<act_script_type></act_script_type>
<act_script></act_script>
<act_loop_type>EMPTY</act_loop_type>
<act_test_before>0</act_test_before>
<act_loop_maximum>0</act_loop_maximum>
<act_loop_condition>0</act_loop_condition>
<act_loop_cardinality>0</act_loop_cardinality>
<act_loop_behavior>0</act_loop_behavior>
<act_is_adhoc>0</act_is_adhoc>
<act_is_collapsed>0</act_is_collapsed>
<act_completion_condition>0</act_completion_condition>
<act_ordering>0</act_ordering>
<act_cancel_remaining_instances>0</act_cancel_remaining_instances>
<act_protocol>0</act_protocol>
<act_method>0</act_method>
<act_is_global>0</act_is_global>
<act_referer>0</act_referer>
<act_default_flow>0</act_default_flow>
<act_master_diagram>0</act_master_diagram>
<bou_uid>796773032591da8ad2d78f9070801311</bou_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<element_uid>699674969591da8ad2c8e29094085586</element_uid>
<bou_element>592748205591dcc43e17925091079095</bou_element>
<bou_element_type>bpmnActivity</bou_element_type>
<bou_x>359</bou_x>
<bou_y>74</bou_y>
<bou_width>150</bou_width>
<bou_height>75</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="ARTIFACT"/>
<table name="BOUND">
<record>
<bou_uid>644078661591da8ad49b168076298122</bou_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<element_uid>629345707591da8ad4948a3022146882</element_uid>
<bou_element>592748205591dcc43e17925091079095</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>606</bou_x>
<bou_y>95</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>720886708591dcc59beb096016129290</bou_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<element_uid>757752922591dcc59bdaed3079376019</element_uid>
<bou_element>592748205591dcc43e17925091079095</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>240</bou_x>
<bou_y>187</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>784735656591da8ad4749e5074175364</bou_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<element_uid>103520741591da8ad46aa47032601056</element_uid>
<bou_element>592748205591dcc43e17925091079095</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>240</bou_x>
<bou_y>95</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<bou_uid>796773032591da8ad2d78f9070801311</bou_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<element_uid>699674969591da8ad2c8e29094085586</element_uid>
<bou_element>592748205591dcc43e17925091079095</bou_element>
<bou_element_type>bpmnActivity</bou_element_type>
<bou_x>359</bou_x>
<bou_y>74</bou_y>
<bou_width>150</bou_width>
<bou_height>75</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="DATA"/>
<table name="DIAGRAM">
<record>
<dia_uid>976761549591da883096875051042456</dia_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_name>WebEntryEvent2</dia_name>
<dia_is_closable>0</dia_is_closable>
</record>
</table>
<table name="DOCUMENTATION"/>
<table name="EVENT">
<record>
<evn_uid>629345707591da8ad4948a3022146882</evn_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<pro_uid>827725863591da88311f126098111677</pro_uid>
<evn_name></evn_name>
<evn_type>END</evn_type>
<evn_marker>EMPTY</evn_marker>
<evn_is_interrupting>1</evn_is_interrupting>
<evn_attached_to></evn_attached_to>
<evn_cancel_activity>0</evn_cancel_activity>
<evn_activity_ref></evn_activity_ref>
<evn_wait_for_completion>0</evn_wait_for_completion>
<evn_error_name></evn_error_name>
<evn_error_code></evn_error_code>
<evn_escalation_name></evn_escalation_name>
<evn_escalation_code></evn_escalation_code>
<evn_condition></evn_condition>
<evn_message></evn_message>
<evn_operation_name></evn_operation_name>
<evn_operation_implementation_ref></evn_operation_implementation_ref>
<evn_time_date></evn_time_date>
<evn_time_cycle></evn_time_cycle>
<evn_time_duration></evn_time_duration>
<evn_behavior>THROW</evn_behavior>
<bou_uid>644078661591da8ad49b168076298122</bou_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<element_uid>629345707591da8ad4948a3022146882</element_uid>
<bou_element>592748205591dcc43e17925091079095</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>606</bou_x>
<bou_y>95</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<evn_uid>757752922591dcc59bdaed3079376019</evn_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<pro_uid>827725863591da88311f126098111677</pro_uid>
<evn_name>simple start</evn_name>
<evn_type>START</evn_type>
<evn_marker>EMPTY</evn_marker>
<evn_is_interrupting>1</evn_is_interrupting>
<evn_attached_to></evn_attached_to>
<evn_cancel_activity>0</evn_cancel_activity>
<evn_activity_ref></evn_activity_ref>
<evn_wait_for_completion>0</evn_wait_for_completion>
<evn_error_name></evn_error_name>
<evn_error_code></evn_error_code>
<evn_escalation_name></evn_escalation_name>
<evn_escalation_code></evn_escalation_code>
<evn_condition></evn_condition>
<evn_message>LEAD</evn_message>
<evn_operation_name></evn_operation_name>
<evn_operation_implementation_ref></evn_operation_implementation_ref>
<evn_time_date></evn_time_date>
<evn_time_cycle></evn_time_cycle>
<evn_time_duration></evn_time_duration>
<evn_behavior>CATCH</evn_behavior>
<bou_uid>720886708591dcc59beb096016129290</bou_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<element_uid>757752922591dcc59bdaed3079376019</element_uid>
<bou_element>592748205591dcc43e17925091079095</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>240</bou_x>
<bou_y>187</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
<record>
<evn_uid>103520741591da8ad46aa47032601056</evn_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<pro_uid>827725863591da88311f126098111677</pro_uid>
<evn_name></evn_name>
<evn_type>START</evn_type>
<evn_marker>EMPTY</evn_marker>
<evn_is_interrupting>1</evn_is_interrupting>
<evn_attached_to></evn_attached_to>
<evn_cancel_activity>0</evn_cancel_activity>
<evn_activity_ref></evn_activity_ref>
<evn_wait_for_completion>0</evn_wait_for_completion>
<evn_error_name></evn_error_name>
<evn_error_code></evn_error_code>
<evn_escalation_name></evn_escalation_name>
<evn_escalation_code></evn_escalation_code>
<evn_condition></evn_condition>
<evn_message>LEAD</evn_message>
<evn_operation_name></evn_operation_name>
<evn_operation_implementation_ref></evn_operation_implementation_ref>
<evn_time_date></evn_time_date>
<evn_time_cycle></evn_time_cycle>
<evn_time_duration></evn_time_duration>
<evn_behavior>CATCH</evn_behavior>
<bou_uid>784735656591da8ad4749e5074175364</bou_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<element_uid>103520741591da8ad46aa47032601056</element_uid>
<bou_element>592748205591dcc43e17925091079095</bou_element>
<bou_element_type>bpmnEvent</bou_element_type>
<bou_x>240</bou_x>
<bou_y>95</bou_y>
<bou_width>33</bou_width>
<bou_height>33</bou_height>
<bou_rel_position>0</bou_rel_position>
<bou_size_identical>0</bou_size_identical>
<bou_container>bpmnDiagram</bou_container>
</record>
</table>
<table name="EXTENSION"/>
<table name="FLOW">
<record>
<flo_uid>544425218591da8ad5424e9036223137</flo_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<flo_type>SEQUENCE</flo_type>
<flo_name> </flo_name>
<flo_element_origin>103520741591da8ad46aa47032601056</flo_element_origin>
<flo_element_origin_type>bpmnEvent</flo_element_origin_type>
<flo_element_origin_port>0</flo_element_origin_port>
<flo_element_dest>699674969591da8ad2c8e29094085586</flo_element_dest>
<flo_element_dest_type>bpmnActivity</flo_element_dest_type>
<flo_element_dest_port>0</flo_element_dest_port>
<flo_is_inmediate>1</flo_is_inmediate>
<flo_condition></flo_condition>
<flo_x1>273</flo_x1>
<flo_y1>112</flo_y1>
<flo_x2>359</flo_x2>
<flo_y2>112</flo_y2>
<flo_state><![CDATA[[{"x":273,"y":112},{"x":359,"y":112}]]]></flo_state>
<flo_position>1</flo_position>
</record>
<record>
<flo_uid>664834305591da8ad5445c1002013300</flo_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<flo_type>SEQUENCE</flo_type>
<flo_name> </flo_name>
<flo_element_origin>699674969591da8ad2c8e29094085586</flo_element_origin>
<flo_element_origin_type>bpmnActivity</flo_element_origin_type>
<flo_element_origin_port>0</flo_element_origin_port>
<flo_element_dest>629345707591da8ad4948a3022146882</flo_element_dest>
<flo_element_dest_type>bpmnEvent</flo_element_dest_type>
<flo_element_dest_port>0</flo_element_dest_port>
<flo_is_inmediate>1</flo_is_inmediate>
<flo_condition></flo_condition>
<flo_x1>510</flo_x1>
<flo_y1>112</flo_y1>
<flo_x2>606</flo_x2>
<flo_y2>112</flo_y2>
<flo_state><![CDATA[[{"x":510,"y":112},{"x":606,"y":112}]]]></flo_state>
<flo_position>1</flo_position>
</record>
<record>
<flo_uid>732645293591dcc59c42f67065123627</flo_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<flo_type>SEQUENCE</flo_type>
<flo_name> </flo_name>
<flo_element_origin>757752922591dcc59bdaed3079376019</flo_element_origin>
<flo_element_origin_type>bpmnEvent</flo_element_origin_type>
<flo_element_origin_port>0</flo_element_origin_port>
<flo_element_dest>699674969591da8ad2c8e29094085586</flo_element_dest>
<flo_element_dest_type>bpmnActivity</flo_element_dest_type>
<flo_element_dest_port>0</flo_element_dest_port>
<flo_is_inmediate>1</flo_is_inmediate>
<flo_condition></flo_condition>
<flo_x1>273</flo_x1>
<flo_y1>204</flo_y1>
<flo_x2>435</flo_x2>
<flo_y2>149</flo_y2>
<flo_state><![CDATA[[{"x":273,"y":204},{"x":435,"y":204},{"x":435,"y":149}]]]></flo_state>
<flo_position>1</flo_position>
</record>
</table>
<table name="GATEWAY"/>
<table name="LANE"/>
<table name="LANESET"/>
<table name="PARTICIPANT"/>
<table name="PROCESS">
<record>
<pro_uid>827725863591da88311f126098111677</pro_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<dia_uid>976761549591da883096875051042456</dia_uid>
<pro_name>WebEntryEvent2</pro_name>
<pro_type>NONE</pro_type>
<pro_is_executable>0</pro_is_executable>
<pro_is_closed>0</pro_is_closed>
<pro_is_subprocess>0</pro_is_subprocess>
</record>
</table>
<table name="PROJECT">
<record>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<prj_name>WebEntryEvent2</prj_name>
<prj_description></prj_description>
<prj_target_namespace></prj_target_namespace>
<prj_expresion_language></prj_expresion_language>
<prj_type_language></prj_type_language>
<prj_exporter></prj_exporter>
<prj_exporter_version></prj_exporter_version>
<prj_create_date><![CDATA[2017-05-18 13:58:27]]></prj_create_date>
<prj_update_date><![CDATA[2017-05-18 16:31:21]]></prj_update_date>
<prj_author>00000000000000000000000000000001</prj_author>
<prj_author_version></prj_author_version>
<prj_original_source></prj_original_source>
</record>
</table>
</definition>
<definition class="workflow">
<table name="process">
<record>
<pro_uid>764314601591da882ee7360035898228</pro_uid>
<pro_title>WebEntryEvent2</pro_title>
<pro_description></pro_description>
<pro_parent>764314601591da882ee7360035898228</pro_parent>
<pro_time>1</pro_time>
<pro_timeunit>DAYS</pro_timeunit>
<pro_status>ACTIVE</pro_status>
<pro_type_day></pro_type_day>
<pro_type>NORMAL</pro_type>
<pro_assignment>FALSE</pro_assignment>
<pro_show_map>0</pro_show_map>
<pro_show_message>0</pro_show_message>
<pro_subprocess>0</pro_subprocess>
<pro_tri_create></pro_tri_create>
<pro_tri_open></pro_tri_open>
<pro_tri_deleted></pro_tri_deleted>
<pro_tri_canceled></pro_tri_canceled>
<pro_tri_paused></pro_tri_paused>
<pro_tri_reassigned></pro_tri_reassigned>
<pro_tri_unpaused></pro_tri_unpaused>
<pro_type_process>PUBLIC</pro_type_process>
<pro_show_delegate>0</pro_show_delegate>
<pro_show_dynaform>0</pro_show_dynaform>
<pro_category></pro_category>
<pro_sub_category></pro_sub_category>
<pro_industry>0</pro_industry>
<pro_update_date><![CDATA[2017-05-18 16:31:21]]></pro_update_date>
<pro_create_date><![CDATA[2017-05-18 13:58:26]]></pro_create_date>
<pro_create_user>00000000000000000000000000000001</pro_create_user>
<pro_height>5000</pro_height>
<pro_width>10000</pro_width>
<pro_title_x>0</pro_title_x>
<pro_title_y>0</pro_title_y>
<pro_debug>0</pro_debug>
<pro_dynaforms></pro_dynaforms>
<pro_derivation_screen_tpl></pro_derivation_screen_tpl>
<pro_cost>0</pro_cost>
<pro_unit_cost></pro_unit_cost>
<pro_itee>1</pro_itee>
<pro_action_done><![CDATA[a:1:{i:0;s:41:"GATEWAYTOGATEWAY_DELETE_CORRUPTED_RECORDS";}]]></pro_action_done>
<pro_category_label>No Category</pro_category_label>
<pro_bpmn>1</pro_bpmn>
</record>
</table>
<table name="tasks">
<record>
<pro_uid>764314601591da882ee7360035898228</pro_uid>
<tas_uid>699674969591da8ad2c8e29094085586</tas_uid>
<tas_title>Task 1</tas_title>
<tas_description></tas_description>
<tas_def_title></tas_def_title>
<tas_def_subject_message></tas_def_subject_message>
<tas_def_proc_code></tas_def_proc_code>
<tas_def_message></tas_def_message>
<tas_def_description></tas_def_description>
<tas_type>NORMAL</tas_type>
<tas_duration>1</tas_duration>
<tas_delay_type></tas_delay_type>
<tas_temporizer>0</tas_temporizer>
<tas_type_day></tas_type_day>
<tas_timeunit>DAYS</tas_timeunit>
<tas_alert>FALSE</tas_alert>
<tas_priority_variable></tas_priority_variable>
<tas_assign_type>BALANCED</tas_assign_type>
<tas_assign_variable><![CDATA[@@SYS_NEXT_USER_TO_BE_ASSIGNED]]></tas_assign_variable>
<tas_group_variable></tas_group_variable>
<tas_mi_instance_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCE]]></tas_mi_instance_variable>
<tas_mi_complete_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCES_COMPLETE]]></tas_mi_complete_variable>
<tas_assign_location>FALSE</tas_assign_location>
<tas_assign_location_adhoc>FALSE</tas_assign_location_adhoc>
<tas_transfer_fly>FALSE</tas_transfer_fly>
<tas_last_assigned>0</tas_last_assigned>
<tas_user>0</tas_user>
<tas_can_upload>FALSE</tas_can_upload>
<tas_view_upload>FALSE</tas_view_upload>
<tas_view_additional_documentation>FALSE</tas_view_additional_documentation>
<tas_can_cancel>FALSE</tas_can_cancel>
<tas_owner_app>FALSE</tas_owner_app>
<stg_uid></stg_uid>
<tas_can_pause>FALSE</tas_can_pause>
<tas_can_send_message>TRUE</tas_can_send_message>
<tas_can_delete_docs>FALSE</tas_can_delete_docs>
<tas_self_service>FALSE</tas_self_service>
<tas_start>TRUE</tas_start>
<tas_to_last_user>FALSE</tas_to_last_user>
<tas_send_last_email>FALSE</tas_send_last_email>
<tas_derivation>NORMAL</tas_derivation>
<tas_posx>359</tas_posx>
<tas_posy>74</tas_posy>
<tas_width>110</tas_width>
<tas_height>60</tas_height>
<tas_color></tas_color>
<tas_evn_uid></tas_evn_uid>
<tas_boundary></tas_boundary>
<tas_derivation_screen_tpl></tas_derivation_screen_tpl>
<tas_selfservice_timeout>0</tas_selfservice_timeout>
<tas_selfservice_time>0</tas_selfservice_time>
<tas_selfservice_time_unit></tas_selfservice_time_unit>
<tas_selfservice_trigger_uid></tas_selfservice_trigger_uid>
<tas_selfservice_execution>EVERY_TIME</tas_selfservice_execution>
<tas_not_email_from_format>0</tas_not_email_from_format>
<tas_offline>FALSE</tas_offline>
<tas_email_server_uid></tas_email_server_uid>
<tas_auto_root>FALSE</tas_auto_root>
<tas_receive_server_uid></tas_receive_server_uid>
<tas_receive_last_email>FALSE</tas_receive_last_email>
<tas_receive_email_from_format>0</tas_receive_email_from_format>
<tas_receive_message_type>text</tas_receive_message_type>
<tas_receive_message_template>alert_message.html</tas_receive_message_template>
<tas_receive_subject_message></tas_receive_subject_message>
<tas_receive_message></tas_receive_message>
<tas_average></tas_average>
<tas_sdv></tas_sdv>
</record>
<record>
<pro_uid>764314601591da882ee7360035898228</pro_uid>
<tas_uid>wee-96854591da8b6eda526061044026</tas_uid>
<tas_title>WEBENTRYEVENT</tas_title>
<tas_description></tas_description>
<tas_def_title></tas_def_title>
<tas_def_subject_message></tas_def_subject_message>
<tas_def_proc_code></tas_def_proc_code>
<tas_def_message></tas_def_message>
<tas_def_description></tas_def_description>
<tas_type>WEBENTRYEVENT</tas_type>
<tas_duration>1</tas_duration>
<tas_delay_type></tas_delay_type>
<tas_temporizer>0</tas_temporizer>
<tas_type_day></tas_type_day>
<tas_timeunit>DAYS</tas_timeunit>
<tas_alert>FALSE</tas_alert>
<tas_priority_variable></tas_priority_variable>
<tas_assign_type>BALANCED</tas_assign_type>
<tas_assign_variable><![CDATA[@@SYS_NEXT_USER_TO_BE_ASSIGNED]]></tas_assign_variable>
<tas_group_variable></tas_group_variable>
<tas_mi_instance_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCE]]></tas_mi_instance_variable>
<tas_mi_complete_variable><![CDATA[@@SYS_VAR_TOTAL_INSTANCES_COMPLETE]]></tas_mi_complete_variable>
<tas_assign_location>FALSE</tas_assign_location>
<tas_assign_location_adhoc>FALSE</tas_assign_location_adhoc>
<tas_transfer_fly>FALSE</tas_transfer_fly>
<tas_last_assigned>0</tas_last_assigned>
<tas_user>0</tas_user>
<tas_can_upload>FALSE</tas_can_upload>
<tas_view_upload>FALSE</tas_view_upload>
<tas_view_additional_documentation>FALSE</tas_view_additional_documentation>
<tas_can_cancel>FALSE</tas_can_cancel>
<tas_owner_app>FALSE</tas_owner_app>
<stg_uid></stg_uid>
<tas_can_pause>FALSE</tas_can_pause>
<tas_can_send_message>TRUE</tas_can_send_message>
<tas_can_delete_docs>FALSE</tas_can_delete_docs>
<tas_self_service>FALSE</tas_self_service>
<tas_start>TRUE</tas_start>
<tas_to_last_user>FALSE</tas_to_last_user>
<tas_send_last_email>FALSE</tas_send_last_email>
<tas_derivation>NORMAL</tas_derivation>
<tas_posx>240</tas_posx>
<tas_posy>95</tas_posy>
<tas_width>110</tas_width>
<tas_height>60</tas_height>
<tas_color></tas_color>
<tas_evn_uid></tas_evn_uid>
<tas_boundary></tas_boundary>
<tas_derivation_screen_tpl></tas_derivation_screen_tpl>
<tas_selfservice_timeout>0</tas_selfservice_timeout>
<tas_selfservice_time>0</tas_selfservice_time>
<tas_selfservice_time_unit></tas_selfservice_time_unit>
<tas_selfservice_trigger_uid></tas_selfservice_trigger_uid>
<tas_selfservice_execution>EVERY_TIME</tas_selfservice_execution>
<tas_not_email_from_format>0</tas_not_email_from_format>
<tas_offline>FALSE</tas_offline>
<tas_email_server_uid></tas_email_server_uid>
<tas_auto_root>FALSE</tas_auto_root>
<tas_receive_server_uid></tas_receive_server_uid>
<tas_receive_last_email>FALSE</tas_receive_last_email>
<tas_receive_email_from_format>0</tas_receive_email_from_format>
<tas_receive_message_type>text</tas_receive_message_type>
<tas_receive_message_template>alert_message.html</tas_receive_message_template>
<tas_receive_subject_message></tas_receive_subject_message>
<tas_receive_message></tas_receive_message>
<tas_average></tas_average>
<tas_sdv></tas_sdv>
</record>
</table>
<table name="routes">
<record>
<rou_uid>140127072591dcc59f37b55051754850</rou_uid>
<rou_parent>0</rou_parent>
<pro_uid>764314601591da882ee7360035898228</pro_uid>
<tas_uid>wee-96854591da8b6eda526061044026</tas_uid>
<rou_next_task>699674969591da8ad2c8e29094085586</rou_next_task>
<rou_case>1</rou_case>
<rou_type>SEQUENTIAL</rou_type>
<rou_default>0</rou_default>
<rou_condition></rou_condition>
<rou_to_last_user>FALSE</rou_to_last_user>
<rou_optional>FALSE</rou_optional>
<rou_send_email>TRUE</rou_send_email>
<rou_sourceanchor>1</rou_sourceanchor>
<rou_targetanchor>0</rou_targetanchor>
<rou_to_port>1</rou_to_port>
<rou_from_port>2</rou_from_port>
<rou_evn_uid></rou_evn_uid>
<gat_uid></gat_uid>
</record>
<record>
<rou_uid>326526437591dcc59d531b0071922316</rou_uid>
<rou_parent>0</rou_parent>
<pro_uid>764314601591da882ee7360035898228</pro_uid>
<tas_uid>699674969591da8ad2c8e29094085586</tas_uid>
<rou_next_task>-1</rou_next_task>
<rou_case>1</rou_case>
<rou_type>SEQUENTIAL</rou_type>
<rou_default>0</rou_default>
<rou_condition></rou_condition>
<rou_to_last_user>FALSE</rou_to_last_user>
<rou_optional>FALSE</rou_optional>
<rou_send_email>TRUE</rou_send_email>
<rou_sourceanchor>1</rou_sourceanchor>
<rou_targetanchor>0</rou_targetanchor>
<rou_to_port>1</rou_to_port>
<rou_from_port>2</rou_from_port>
<rou_evn_uid></rou_evn_uid>
<gat_uid></gat_uid>
</record>
</table>
<table name="lanes"/>
<table name="gateways"/>
<table name="inputs"/>
<table name="outputs"/>
<table name="dynaforms">
<record>
<dyn_uid>877826579591da8a5465c72072288515</dyn_uid>
<dyn_title>Form1</dyn_title>
<dyn_description></dyn_description>
<pro_uid>764314601591da882ee7360035898228</pro_uid>
<dyn_type>xmlform</dyn_type>
<dyn_filename><![CDATA[764314601591da882ee7360035898228/877826579591da8a5465c72072288515]]></dyn_filename>
<dyn_content><![CDATA[{"name":"Form1","description":"","items":[{"type":"form","variable":"","var_uid":"","dataType":"","id":"877826579591da8a5465c72072288515","name":"Form1","description":"","mode":"edit","script":"","language":"en","externalLibs":"","printable":false,"items":[],"variables":[]}]}]]></dyn_content>
<dyn_label></dyn_label>
<dyn_version>2</dyn_version>
<dyn_update_date><![CDATA[2017-05-18 13:59:01]]></dyn_update_date>
</record>
</table>
<table name="steps">
<record>
<step_uid>529105626591da8b7076636070339785</step_uid>
<pro_uid>764314601591da882ee7360035898228</pro_uid>
<tas_uid>wee-96854591da8b6eda526061044026</tas_uid>
<step_type_obj>DYNAFORM</step_type_obj>
<step_uid_obj>877826579591da8a5465c72072288515</step_uid_obj>
<step_condition></step_condition>
<step_position>1</step_position>
<step_mode>EDIT</step_mode>
</record>
</table>
<table name="triggers"/>
<table name="taskusers"/>
<table name="groupwfs"/>
<table name="steptriggers"/>
<table name="dbconnections"/>
<table name="reportTables"/>
<table name="reportTablesVars"/>
<table name="stepSupervisor"/>
<table name="objectPermissions"/>
<table name="subProcess"/>
<table name="caseTracker"/>
<table name="caseTrackerObject"/>
<table name="stage"/>
<table name="fieldCondition"/>
<table name="event"/>
<table name="caseScheduler"/>
<table name="processCategory"/>
<table name="taskExtraProperties"/>
<table name="processUser"/>
<table name="processVariables"/>
<table name="webEntry"/>
<table name="webEntryEvent">
<record>
<wee_uid>193368522591da8b76111f9092017469</wee_uid>
<prj_uid>764314601591da882ee7360035898228</prj_uid>
<evn_uid>103520741591da8ad46aa47032601056</evn_uid>
<act_uid>699674969591da8ad2c8e29094085586</act_uid>
<dyn_uid>877826579591da8a5465c72072288515</dyn_uid>
<usr_uid>00000000000000000000000000000001</usr_uid>
<wee_title>103520741591da8ad46aa47032601056</wee_title>
<wee_description></wee_description>
<wee_status>ENABLED</wee_status>
<wee_we_uid>178183036591da8b7340ba1059701145</wee_we_uid>
<wee_we_tas_uid>wee-96854591da8b6eda526061044026</wee_we_tas_uid>
<wee_we_url>103520741591da8ad46aa47032601056.php</wee_we_url>
</record>
</table>
<table name="messageType"/>
<table name="messageTypeVariable"/>
<table name="messageEventDefinition"/>
<table name="scriptTask"/>
<table name="timerEvent"/>
<table name="emailEvent"/>
<table name="filesManager"/>
<table name="abeConfiguration"/>
<table name="elementTask"/>
</definition>
<workflow-files>
<file target="dynaforms">
<file_name>Form1</file_name>
<file_path><![CDATA[764314601591da882ee7360035898228/877826579591da8a5465c72072288515.xml]]></file_path>
<file_content><![CDATA[PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGR5bmFGb3JtIHR5cGU9InhtbGZvcm0iIG5hbWU9Ijc2NDMxNDYwMTU5MWRhODgyZWU3MzYwMDM1ODk4MjI4Lzg3NzgyNjU3OTU5MWRhOGE1NDY1YzcyMDcyMjg4NTE1IiB3aWR0aD0iNTAwIiBlbmFibGV0ZW1wbGF0ZT0iMCIgbW9kZT0iIiBuZXh0c3RlcHNhdmU9InByb21wdCI+CjwvZHluYUZvcm0+]]></file_content>
</file>
<file target="public">
<file_name>103520741591da8ad46aa47032601056Info.php</file_name>
<file_path><![CDATA[764314601591da882ee7360035898228/103520741591da8ad46aa47032601056Info.php]]></file_path>
<file_content><![CDATA[PD9waHAKCiRHX1BVQkxJU0ggPSBuZXcgUHVibGlzaGVyKCk7CiRzaG93ID0gImxvZ2luL3Nob3dNZXNzYWdlIjsKJG1lc3NhZ2UgPSAiIjsKaWYgKGlzc2V0KCRfU0VTU0lPTlsiX193ZWJFbnRyeVN1Y2Nlc3NfXyJdKSkgewogICAgJHNob3cgPSAibG9naW4vc2hvd0luZm8iOwogICAgJG1lc3NhZ2UgPSAkX1NFU1NJT05bIl9fd2ViRW50cnlTdWNjZXNzX18iXTsKfSBlbHNlIHsKICAgICRzaG93ID0gImxvZ2luL3Nob3dNZXNzYWdlIjsKICAgICRtZXNzYWdlID0gJF9TRVNTSU9OWyJfX3dlYkVudHJ5RXJyb3JfXyJdOwp9CiRHX1BVQkxJU0gtPkFkZENvbnRlbnQoInhtbGZvcm0iLCAieG1sZm9ybSIsICRzaG93LCAiIiwgJG1lc3NhZ2UpOwpHOjpSZW5kZXJQYWdlKCJwdWJsaXNoIiwgImJsYW5rIik7Cgo=]]></file_content>
</file>
</workflow-files>
</ProcessMaker-Project>

File diff suppressed because it is too large Load Diff