ProcessMaker-BE "BPMN Import"
- Se an realizado todas las modificaciones requeridas para lograr la importacion de un archivo "pmx", tomando en cuenta la generacion de nuevos UIDs, los mismos que deberian ser reflejados en las tablas "workflow" y en los files (archivos xml de los DynaForms) - Se a completado la importacion de las tablas "workflow" - Se a completado la importacion de los datos del proceso y tareas
This commit is contained in:
@@ -276,8 +276,7 @@ Ext.onReady(function(){
|
||||
disabled:true
|
||||
},{
|
||||
text: _('ID_DELETE'),
|
||||
iconCls: 'button_menu_ext ss_sprite ss_delete',
|
||||
//icon: '/images/delete-16x16.gif',
|
||||
iconCls: "button_menu_ext ss_sprite ss_cross",
|
||||
handler:deleteProcess
|
||||
},{
|
||||
xtype: 'tbseparator'
|
||||
@@ -435,7 +434,7 @@ Ext.onReady(function(){
|
||||
handler: enableDisableDebug
|
||||
}, {
|
||||
text: _('ID_DELETE'),
|
||||
icon: '/images/delete.png',
|
||||
iconCls: "button_menu_ext ss_sprite ss_cross",
|
||||
handler: deleteProcess
|
||||
}, {
|
||||
text: _("ID_EXPORT"),
|
||||
@@ -976,8 +975,14 @@ importProcessExistProcess = function()
|
||||
success: function(o, resp) {
|
||||
var resp_ = Ext.util.JSON.decode(resp.response.responseText);
|
||||
var sNewProUid = resp_.sNewProUid;
|
||||
var projectType = (typeof(resp_.project_type) != "undefined")? resp_.project_type : "classicProject";
|
||||
|
||||
if (resp_.ExistGroupsInDatabase == 0) {
|
||||
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
|
||||
if (projectType == "classicProject") {
|
||||
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
|
||||
} else {
|
||||
window.location.href = "../designer?prj_uid=" + sNewProUid;
|
||||
}
|
||||
}
|
||||
else {
|
||||
importProcessGlobal.proFileName = resp_.fileName;
|
||||
@@ -1217,3 +1222,4 @@ function enableDisableDebug()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user